exclusive Gateway needs a answer to go on, help me

cancel
Showing results for 
Search instead for 
Did you mean: 
cararuna
Active Member

exclusive Gateway needs a answer to go on, help me

Jump to solution

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

1.png

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.

2.png

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

i need to do that on my requisition

1 Solution

Accepted Solutions
cararuna
Active Member

Re: exclusive Gateway needs a answer to go on, help me

Jump 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:
3.png

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 solution in original post

1 Reply
cararuna
Active Member

Re: exclusive Gateway needs a answer to go on, help me

Jump 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:
3.png

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.