Hello, I'am using a Classic workflow in a parallel form and i want to skip a task
Focus Search - change order workflow
Then you need 3 macros for the workflow object: An Action macro that modifies the value of the identified (or custom) attribute on the ticket object
In this case the only common attribute of the two workflow task instances is that they reference the same ticket object (so the two workflow tasks are indirectly related). If you want to accomplish this using your approach instead of mine you will need some additional SPEL coding (using the send-wait function and the sync fetch method) to retrieve the value from the other workflow task
Obviously, to accomplish what you want, the three tasks can no longer be parallel. I would design this so that the first task had included a special " complete " status that had a behavior and action that set an attribute in the ticket to a value to indicate that the second task is needed/not...
hi @Lindsay Estabrooks please can any one assist me . how do i use below macro in change management wf. macro::upd val("cr wf", format("cr = '%s' AND sequence IN (20, 30)", cr.persistent id), // search over other tasks in the same parent request with seq 20, 30 1, 0, // delays "status"...
@Lindsay Estabrooks Please can you tell me the action macro using your idea.
@Lindsay Estabrooks Can you tell me the Action macro according to your idea. Need your help.
I'am thinking a macro something like this in my change workflow .Need your help as well. 1. if task "SYST" (wf.status = "APP") 2. set task "UATM" (wf.status = "PEND") 3. else 4. set task "UATM" (wf.status = "SKIP") here, "SYST" is a task code
Focus Search - I want that when the user clics the save button in order to create a change order, the function evaluates than if the category field is fill with a development category and the root cause is blank, display a message warning that if "you choose this category it must be set with a root cause, in others cases it will be ok (for example if the category is another accepts or not a root cause)" This is my function I want to achive with spl code: file.mod MODIFY chg (PRE_VALIDATE zValidateRootCause() 4200 FILTER(EVENT("INSERT"));); file.spl chg::zValidateRootCause(...) ( string zmsgA21; ( if (category == '401314' && rootcause == '' ) ( zmsgA21=format("For this category must be a select a root cause",chg_ref_num,requestor); set_error(1); set_return_data(zmsgA21); return; ) ) ) But when I create a change order of development area, the function doesn't evaluate the values I put on the respective fields