cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to use custom outcomes in process

sart
Champ in-the-making
Champ in-the-making
Hi,

Clarification is needed on how to use Form's custom outcomes with Exclusive Gateway
<!–break–>
I'm trying to create the simple process with UserTask followed by Exclusive Gateway and 2 other UserTasks depended on its condition.
I've created two custom outcomes for the first UserTask: Agree and Disagree.
But I cannot find the right way to set flow conditions for Exclusive Gateway.
${outcome == "Agree"}‍
doesn't work…

Please help,

Regards

13 REPLIES 13

abbask
Champ on-the-rise
Champ on-the-rise
no need to get execution. the 'task' object itself can get the form outcome variable.

robsoncardoso_t
Champ in-the-making
Champ in-the-making

In Activiti 6 beta 4 the standard is formPrefix + "_" + formKey + "_" +name. Ex: "form_1004_outcome". ${form_1004_outcome=="Agree"}

Hi,

I am just start working with activiti 6 ,

can you please tell me how to post form variables and outcomes, using rest api?

and based on that outcomes it will go to specific task.

lamya
Champ in-the-making
Champ in-the-making

Hi,

I have the same problem, my form is  

"name":"Test","key":"1000","version":0,

"outcomes":
[{"id":null,"name":"A"},{"id":null,"name":"B"}]
I try : ${form_1000_Test=="A"}

But I have an error, it doesn't work. Any idea please ?

thanks for the help