cancel
Showing results for 
Search instead for 
Did you mean: 

exclusive Gateway needs a answer to go on, help me

cararuna
Champ on-the-rise
Champ on-the-rise

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...

image

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.

image

How can i choose the right way giving the answer "yes" or "no"???

i need to do that on my requisition

1 ACCEPTED ANSWER

cararuna
Champ on-the-rise
Champ on-the-rise

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:
image

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.

View answer in original post

1 REPLY 1

cararuna
Champ on-the-rise
Champ on-the-rise

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:
image

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.