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
3 replies
Subscribers
5 subscribers
Views
2183 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Exception flow in Receive Message Event
nikhilj
over 7 years ago
The receive message event if waiting for an email to take the process flow is a blocking statement.
Meaning, the process waits for the receive message event node to executed once it is activated and it can only execute once a message is received.
However, there is no exception flow associated with the receive message event like a timer or a condition after which the message is no longer required or an alternative flow is desired.
Anyone effective way to achieve this?
OriginalPostID-258544
Discussion posts and replies are publicly visible
Parents
0
ryanh
over 7 years ago
I had a similar issue with a timer node not having a way to effectively cancel it once started. I came up with 2 solutions: 1) put the timer node in a subprocess and have the exception/time out occur on the whole subprocess 2) set a process variable with a time in the node before the timer. After the timer node executes have a XOR that checks the pv variable to see if the current node is > than it, or is null and then determine if the flow should end or not. If you decide later that you don't want the flow to execute because it has been too long you can either let the XOR catch the time and cancel the flow or set the process variable to null.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ryanh
over 7 years ago
I had a similar issue with a timer node not having a way to effectively cancel it once started. I came up with 2 solutions: 1) put the timer node in a subprocess and have the exception/time out occur on the whole subprocess 2) set a process variable with a time in the node before the timer. After the timer node executes have a XOR that checks the pv variable to see if the current node is > than it, or is null and then determine if the flow should end or not. If you decide later that you don't want the flow to execute because it has been too long you can either let the XOR catch the time and cancel the flow or set the process variable to null.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data