1 person found this helpful
Now we have this new Task Result object you can use in the Output section of the User step.
The Task Result object contains a bunch of information about the completed task, one of them being the user that completed it.
Where can I find more information about how can I use the Task Result object?
I need to do something like this:
A person submits a form to a first manager. The first manager approve the form and submtis to a second manager. The second manager approve the form and submtis to a third manager and finally a PDF copy of the form is saved in the local disk. But if the second manager claims the task from the first manager without his approve, and the second manager approve it, the task should go straight to the thrid manager. And if the thrid manager claims the task from the first manager or the second manager, the flow should go straight to the save a PDF copy in the local disk step.
It must be a simple if..else conditional routing.
The workflow will look similar to the following model:
And the expression to compare the completed user and the next approver will look like following:
Note: I am not sure if the taskResult's completedBy variable will hold the UserId or OID of the user.
I got it!!!!
Thanks a lot Nith e Jasmin!