cancel
Showing results for 
Search instead for 
Did you mean: 

add decision points on exclusive gateway other than approve

nkalra1
Champ in-the-making
Champ in-the-making
i have a workflow in which i want to add three condition on a gateway like if the workflow is started by a employee ,it will go to manager.if it is started by manager it will go to CTO  and if it is started by CTO ,it will go to MD directly.how can i put this conditions on exclusive gateway other than approve and reject.


thanks
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

You need to know how you can retrieve the job title for a process initiator.
Then you can use an exclusive gateway and sequence flows with conditions to implement the decision logic.

Best regards,

nkalra1
Champ in-the-making
Champ in-the-making
thanks for your quick response but I don't want any approve or reject condition ,i want to check the condition through my custom variable
Ex : if (some variable ==some value ) then goes to some flow else go to some other flow

where some variable is a custom variable

how to do this

Please help me



Thanks in advance

gant
Champ in-the-making
Champ in-the-making
Hi,

You simply have to put there an EL that resolves either to true or false.

e.g. ${processControl.alternativeFlow}
where alternativeFlow is a boolean property on POJO processControl.

Regards,
michael