cancel
Showing results for 
Search instead for 
Did you mean: 

Exception 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
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!
7 REPLIES 7

cgiuliano
Champ in-the-making
Champ in-the-making
Hi,
Is there any outgoing sequence flow defined from "reviewDecision1" to a further task ("rejectTask"?) in case the condition is not satisfied?
The exclusive gateway needs two outgoing paths, not just one. Although that had been "tolerated" in the past(!), the most recent versions of Alfresco do not allow that any more.

Regards,
Carlo

rock_tu
Champ on-the-rise
Champ on-the-rise
At first thank you for your reply,I have add code like this:
exclusiveGateway id="reviewDecision1" name="Exclusive Gateway" exclusiveGateway
sequenceFlow id="flow2" sourceRef="reviewTask1" targetRef="reviewDecision1 sequenceFlow
sequenceFlow id="flow3" sourceRef="reviewDecision1" targetRef="approveTask1"
     conditionExpression xsi:type="tFormalExpression">${wf_reviewOutcome == 'Approve'}conditionExpression
   sequenceFlow
sequenceFlow id="flow4" sourceRef="reviewDecision1" targetRef="rejectTask1"
    conditionExpression xsi:type="tFormalExpression"
    ${wf_reviewOutcome == 'Reject'}
    conditionExpression
sequenceFlow
but there is some error "org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'reviewDecision1' could be selected for continuing the process" could you help me please? thank you very much!!

rock_tu
Champ on-the-rise
Champ on-the-rise
What's more,I started the custom workflow after,in my task page,I started workflow is not appear,In my started workflow page appeared,do you know why?could you give me a idea?thank you very much!!!

rock_tu
Champ on-the-rise
Champ on-the-rise
Thank you for your reply,Yes there is another outgoing sequence flow defined from "reviewDecision1" to a further task ("rejectTask"?) thanks a lot for your answer!!

rock_tu
Champ on-the-rise
Champ on-the-rise
who could help me? thank you very much!

cgiuliano
Champ in-the-making
Champ in-the-making
Hi Rock Tu,
Would you mind posting here the process definition of your custom workflow, putting it between the tags
 and 
? That would produce a definitely better formatted code. In the post #3 I see something that appears to be syntax errors, but I'm not sure the code has been pasted correctly.

With regard to your question in post #4, are you seeing your started workflow in "My started workflow" page, while you don't see it in "My tasks" page? Do you have any task assigned to yourself?

Regards,
Carlo

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello Carlo
Thank you for your reply,you ask me whether I can see the started workflow in "My started workflow page" or not,yes I can see it in "My started workflow page",but I can't see it in "My tasks" page,on condition that I assign the task to myself,what's more,if admin assign a task to A,then A login the share,A can't see the task in "My task page" and "My started workflow page" that admin have assigned to he,do you understand my problem? In order to make you easy understand my workflow,I think that I explain the workflow at first,There are several steps in the workflow
first,a initiator start the workflow and assign the workflow to A
second, A review the task,A can approve or reject,if A approve the task,then A can assign the task to everyone,here assume B,if A reject the task,the task is end at the same time nofity the initiator
third,if B login the share and see the task that A assign to he,B can approve and reject too,if B approve the task,the task is ending finally,if B reject the task,the task is ending too,
do you understand my workflow?
Now I upload two files ,twolevel.bpmn20.xml and twolevel_processdefinition.xml,could you help me please,what's wrong in these files,
In my opinion,I doubt that the workflow can't assign to anyone,because I find that assume if I am admin and login the share,I start the custom workflow,assign the task to admin,In "My started workflow page",I click the "review the history reord" button and find the workflow information below,the operator field is null,I feel very suprised,could you tell me why?
thanks a lot!Carlo