Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
9 replies
Subscribers
6 subscribers
Views
3826 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have an issue with the gateways OR. In the user task, the user can chose
vianneym
over 9 years ago
I have an issue with the gateways OR.
In the user task, the user can chose between GO and RELOAD, RELOAD set a Boolean BO to true. The OR output is done according to the value of BO: if true go to Sub-Process, else go to XOR. The Script Task next Sub-process set BO to false before re-launch the user task. The issue occur the second time that the user task is done, the process is stuck on the gateway. I have no alert in the designer, so I have no clue why the process is stuck here. Thanks for your help.
OriginalPostID-210325
OriginalPostID-210325
Discussion posts and replies are publicly visible
0
ChristineH
Certified Lead Developer
over 9 years ago
You will need to have an empty script task that joins the two flows that then connects to the gateway. You can only have one flow go into the gateway. Hope that helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 9 years ago
forum.appian.com/.../Prevent_and_Recover_from_Common_Process_Problems.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vianneym
over 9 years ago
In my process the only way to come back on the OR gateway is the flow with the scrip task "FUND" and the user task "Affichage du fichier FUND". (If the process go from the XOR up to the OR, the flow will never come back and the flow will go to the next XOR (down)). So the both times the input flow of the OR come from the user task. I should put the empty script task after the user task?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 9 years ago
Hi vianneym,
The XOR gateway need to have only one in path then only it will work properly but you configured two input paths to XOR gate in that case only 1st time it will execute properly. So when ever you going to have two or more input paths to XOR then use script task before that gateway.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vianneym
over 9 years ago
In my process all the XOR have 1 input and 3 outputs paths, it's the OR who have 2 input and 2 outputs paths. This rule with the script task have to be applied for both XOR and OR?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 9 years ago
Please see the provided link (Gateway Nodes Not Executing).
forum.appian.com/.../Prevent_and_Recover_from_Common_Process_Problems.html
It says "This type of exception is the result of a common incorrect process design. It occurs when an XOR or OR gateway has more than one incoming flow, or when an AND or Complex gateway is used in a loop. "
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@vianneym An answer to the question which you have asked at last - As per the diagram attached, the XOR gateways has only one path and it's the OR gateway that has more than one path which is green in colour. The suggestion given by @rajasekhar here is actually speaking about XOR (and offcourse your diagram doesn't have an issue with XOR as far as I see) but you can also apply the same to OR gateway which is already specified by @christineh. I should say that the link specified by @vineeta should aid you in this case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bhupinders
over 9 years ago
I have seen similar behavior with XOR gateway when it has more than two incoming flow. First time it worked fine but second time it stuck at XOR. Better to use a script activity before the OR gateway to join all the flows.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vianneym
over 9 years ago
The issue is solved, by using the empty script task (here the screen shot). Thank for your help.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel