06-26-2023 02:07 PM
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
06-27-2023 06:29 AM
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.
06-27-2023 06:29 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.