I Have human task like Manager approval with boolean field, After selecting the manager decision(Like True/False) I want to submit the task with the manager decision to the process, So that process flow verify the manager decision and proceed with the next task for the case.
Please help me with the steps and code.
4 Likes
To retrieve a variable from the human task, add it like this and map it to the corresponding process variable:
Next, define your condition based on the expected output:
Finally, from the Alpha, you can map the values like this:
2 Likes
Hi @Vyshnav_PC
I have done the same, but it is not working for me.
Could you please help me , what I am doing wrong here.
1 Like
We connected through Teams, and as discussed:
The issue is that youβre currently passing a string value instead of a boolean.
You can fix this in one of two ways:
- Convert the value to a boolean before sending it β for example, use
true
orfalse
instead of"true"
or"false"
. - Update the decision logic to use string values instead β for example,
"Approve"
,"Decline"
, etc., to keep it more readable and flexible.
1 Like