Im working with a workflow that has a task with two ways.
I'm allready read and tried to put on json body the correct way to answer, but with no succes.
on the first photo, you can see my xml and the explication for the way...

on the second one, you can see i'm trying to put the state to completed, tried: the id xml tag, the variable: "name"... everything that seens to solve, but fail.

How can i choose the right way giving the answer "yes" or "no"???
i need to do that on my requisition