cancel
Showing results for 
Search instead for 
Did you mean: 

Excpption about workflow

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello All
I custom a advanced workflow, but when I am ending the task,there is some error"
org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'reviewDecision1' could be selected for continuing the process" Any one can help me? what's the matter case the trouble,the code about reviewDecision1 are
exclusiveGateway id="reviewDecision1" name="Exclusive Gateway" exclusiveGateway and
sequenceFlow id="flow2" sourceRef="reviewTask1" targetRef="reviewDecision1" sequenceFlow
sequenceFlow id="flow3" sourceRef="reviewDecision1" targetRef="approveTask1"  conditionExpression xsi:type="tFormalExpression" ${wf_reviewOutcome == 'Approve'} conditionExpression sequenceFlow
Thanks a lot!
5 REPLIES 5

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

Its looks like there is no default flow from gateway, the problem coming from the gateway, the task is not able to proceed further may be it is not satisfying condition and there is no any other flow from the gateway.

To give you better solution can you attach your processDefinition file.

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello lementree
Thanks for your reply,now I upload two file about my custom workflow,if you have a good idea,please tell me thank you very much!!

lementree
Champ on-the-rise
Champ on-the-rise
after commenting these line the error would have gone, if still getting error remove these lines and in workflow context file make reload=true the restart server.
i.e
<prop key="redeploy">true</prop>‍‍‍
 <!–     <conditionExpression xsi:type="tFormalExpression"><![CDATA[${wf_reviewOutcome1 == 'Reject'}]]></conditionExpression> –>‍‍‍‍‍

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello
Thank you very much your answer,I will try it again,!

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello lementree
Thanks your answer,I customized workflow can work now,thanks a lot!