Hi in R14 will like to know with the change order classic workflows when you complete task 100 task 200 will go pending which will then automatically complete or skip that task, then move onto the next task.
I know that action macro could be used, but don't see how this could be done via the system.
Can you provide additional details to what you are trying to do with workflow? Can you provide a use case that describes what it is you're attempting to achieve?
So this will be around the change order workflows
for Example you have the below workflow task.
When a user completes task 100 in the workflow, Task 150 will automatically be set to skip then move to task 250 will go pending, will still want task 150 into the workflows but its should be no human action required on this task.
What is the purpose of task 150?
you can create action macro and attach it as pending task behavior, code could be:
// switching task to COMP statussend_wait(0, this, "call_attr", "status", "set_val", "COMP", "SURE_SET");
you can use COMP (Completed) status code or SKIP or whatever you want which will match task behaviour.
Thanks cdtj I will give that a go
MeteshKeshav1307450 let us know if cdtjs suggestion worked out for you or if you still need help on this one.
Hi this will work for me thanks guys
I have this scenario on my enviroment:
On the task 1, if the status is APP then the two next tasks should be canceled.
If the status on the 1st task is APP2 then the next task should be pending.
How can I create a action macro to this behavior?