Pass usertask outcome to microflow.

I have a usertask in workflow which has two outcomes i.e Accepted and Rejected. I want to pass the outcomes to the microflow. Currently I am sending the hardcoded outcome to microflow. However I want to avoid the hardcoding.
1 answers

Hi Anju,


You can give a parameter to the microflow you are calling. As a parameter you should set the usertask of which you want to use the outcome. Then you can use the object in the flow and use a check like: $usertask/outcome. In this way you'll have the outcome available without hardcoding.


Hope this helps!


(see comment below for in detail explanation)