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  one workflow in which i want to add three decision points on alfresco exclusive gateway like if the workflow started by a employ it will go to manager.
if it will started by manager it will go to cto,and if by cto ,go to MD.how can i put these conditions on exlusive gateway other than approve and reject.
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
Three requisites for that.
Some of your transition from task node should lead to the given decision node.
There  you should put all the conditional transitions with one default transition.
The variables which you use in the conditions should be defined in model.

This is the sample decision node.

    <decision name="submitserialreview">
       <transition name="endreview" to="endreview" />
       <transition name="review" to="serialreview">
         <condition>#{wcmwf_approveCnt &lt; wcmwf_reviewerCnt}</condition>
       </transition>
    </decision>  

good Luck  😎

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