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
9 subscribers
Views
3462 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a node in my process model which may take several minutes to complete, so
Navajith K
over 10 years ago
I have a node in my process model which may take several minutes to complete, sometimes it takes less than a minute depending upon certain criteria. Is there a way to proceed the flow to another node if the first node is taking more than 1 minute. I dont want to skip the first node. the first node should be active and should take its time to complete and should continue the flow. ...
OriginalPostID-110508
OriginalPostID-110508
Discussion posts and replies are publicly visible
0
janakik
over 10 years ago
Is the second node depending on the first node values?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
priyaj
over 10 years ago
Hi Navajithh,
Before your first node, take a parallel flow. One to the first node and the other to the timer event which is configured for 1 minute(proceed with another flow).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Navajith K
over 10 years ago
Hi Janakik, if the node is taking more than 1 minute then I want to redirect the flow to another node which is not dependent on first node.
Priyaj, I want to continue to parallel flow only if the first node took morethan 1 minute to complete
Any thoughts
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
i think something close to Priyaj's solution might work for you. Before the 'long' node, put an And gateway, and launch the 'long' node as well as a Timer node set for 1 minute. After the Timer node, have an XOR which checks for some PV thta you set in the output of the 'long' node, so that if the 'long' node finished in time, it can just go to an End Event. Otherwise have it set a separate flag indicating that this path has been taken. After the 'long' node put an XOR gateway that checks whether the path following the timer has been taken.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
I made a quick example which should work (or very close).. I can't promise it doesn't need some tweaking to do what you need, but hopefully it will help. See attached.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Navajith K
over 10 years ago
Thanks all for you support, I will try your suggestion.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vikask
over 10 years ago
Why don't try to be this node in Asychronoues Subprocess ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Navajith K
over 10 years ago
Vikas, I have to take certain decisions in the flow based on whether the node was completed on time or not. The scenario is like if the node is completed on time user should be able to work on the same process, if its delayed then the same should be informed to the user and he should be able to go back to the parent process from where he invoked this process. so if the node is in an Asychronoues subporcess then I wont be able to know if the node was completed on time or not.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Thanks, let me know whether you find my suggestion useful :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel