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
Solved! Go to Solution.
I solved. When u make a requisition to set a value of a variable on the process: my variable was: "IdentidadeNãoExisteBD"
you need to create that variable with that requisition:
paying attention on type: "d-boolean"... alfresco doesnt accept string or boolean directly, you can call list of variables to see their types.
So, after setting a value to a variable, you can call again the state: completed requisition to see if works or if you need to create or update another variable.
After create/update the necessary variables, the update state requisition will work.
I solved. When u make a requisition to set a value of a variable on the process: my variable was: "IdentidadeNãoExisteBD"
you need to create that variable with that requisition:
paying attention on type: "d-boolean"... alfresco doesnt accept string or boolean directly, you can call list of variables to see their types.
So, after setting a value to a variable, you can call again the state: completed requisition to see if works or if you need to create or update another variable.
After create/update the necessary variables, the update state requisition will work.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.