How can I change the status of the Change Request after all change request tasks are approved?
The Change request tasks aren't sequential and can be approved at any time, they don't obey an order.
What I need to do is when all tasks are approved, the status of the change request is changed to a specific one. (Approved)
If one task are rejected, the status still the same. Only if all tasks are approved.
How can I do this?
Thanks for advance.
Check if this helps:
Change Status of Request when Task Approved
Hi my friend. Thanks for your help.
But this case works only for one task.
What I need is when all tasks are approved, the change request change for one specific status.
Thanks one more time.
One way to do it is to have an end task following the parallel execution tasks, where you can attach Action Macros (on the Task's Pending status). This way you can automatically modify the Change Request's AFTER all approvals have been given.
the paralel task need to have a condition, right?
which is the code of this condition ?
How can I control if all tasks are approved with a paralel task or service type related on the category of change?
I assumed you already have something configured. To have a set of tasks run in parallel, use the 'Group Start Task' and 'Group End Task' templates - any Workflow task that's between them will run in parallel.
Coming back to your original question, you could have a new task, after the 'Group End Task' which terminates the parallel execution, where you can execute macro actions, as @junaid mentioned.
The analyst can add the tasks on change order. Some changes has 2 tasks, but others can have 5 or 6 tasks. The number can change.I don't know, but I think I can use group of tasks for this, right?
I think so, it's possible to add group of tasks, but for this scenario - manually inserted tasks - my recommendation does not work, since you'll not be able to define Action Macros like in a pre-defined Workflow Task definition.