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
6 replies
Subscribers
6 subscribers
Views
2528 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
How can I cancel an existing process from within another process?
amjedr
over 9 years ago
How can I cancel an existing process from within another process?
OriginalPostID-164406
OriginalPostID-164406
Discussion posts and replies are publicly visible
0
mjmallet
over 9 years ago
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mjmallet
over 9 years ago
I use it in one of my process that has a timer sub-process. If they cancel the trip.. I want to cancel the sub-process that has the timer. You'll get an alert from Appian when the process gets cancelled by the other process.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
senthilar
over 9 years ago
you can also accomplish this using message events. Have a message listener that would flow into a Terminate (via a DB Update probably, for logging) event. This message event can be triggered from within any process.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 9 years ago
There are multiple approaches for cancelling a process from any other process:
1. Use the Process Management Services plugin, as suggested by @mjmallet (Not OOB)
2. Use the "Set External PV Smart Service" (
forum.appian.com/.../
. You can have a boolean flag in your process. Then you can set it from another process. You can have a trigger which will execute when that boolean flag becomes true. You can use this in case you desire synchronous behavior.(But this is not OOB)
3. Another way, as suggested by @senthilar is to use Send/Receive Message combination. It is OOB. But its behavior is asynchronous.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sanjays0006
over 9 years ago
We have Process Management Services plugin for this.Have a look at it:
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amjedr
over 9 years ago
ok thanks very much.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel