Hi
I am a little confused .
I created a form in a userTask by boolean type . and i sat properties by true and false .
after user task , i put an exclusive gateWay and as output of gateWay , i create two SequenceFlow by conditions and one of them checks true and one of them checks false . and everything ok .
i want to check three options instead of true or false .
should i use enum type ??
Can you share your model?
Ingo
Hi @rezza72,
the most easy way to check for more than two outgoing sequence flows after an exclusive gateway is a integer variable: ${myCondition == 1}
, 2 or 3.
They can be implemented in an embedded form in the user task with a select control: https://docs.camunda.org/manual/7.10/reference/embedded-forms/controls/select/.
If you want hide the numbers from users, you can write
<select cam-variable-name="foo"
cam-variable-type="Integer">
<option value="1">yes</option>
<option value="2">no</option>
<option value="3">maybe</option>
</select>
Hope this helps, Ingo
1 Like