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
7 replies
Subscribers
9 subscribers
Views
3140 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
hi all, is there a way for admin to manually resume a process which is stuc
eaglez
over 10 years ago
hi all,
is there a way for admin to manually resume a process which is stuck by a certain exception?
we have a process which contains sub-process one, while this sub-process contains another sub-process two.
somehow, sub-process two is stuck. we cancelled it and restarted a new one manually. sub-process one did reach the end event but the status is not completed, which caused the main process got stuck.
hope my explanation is clear.
OriginalPostID-142941
OriginalPostID-142941
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
This can happen if the sub-process has more than one End Event and the one that you triggered doesn't have a black circule in the center (Terminate Event)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 10 years ago
yes, we don't have terminate event. but we only have one end event.
btw, is it true if an exception happens in one node of sub-process two( like i described above), even cancel the sub-process two and restart a new one won't make sub-process one completed?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Sub-process two has nothing to do with Sub-process one, therefore the fact that you cancel the node and launched a new instance doesn't mean the first process will be marked as completed. Instead you need to make sure you also cancel the process, not only the node, if the sub-process one(from the Processes tab) still shows as Problem with Task
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 10 years ago
is there any way for admin to manually resume the process
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
I don't think you need to restart the broken sub-process if you don't want that process (you already launched a new instance), simply go to the parent, right click on the sub-process node -> 2 Instances and verify one is Completed and the other is Cancelled, is that the case?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 10 years ago
Not sure if this helps, but if you have a subprocess with a node paused by exception, it's possible to complete (and skip) that process by cancelling the node with the exception and starting one of the end events. The process will complete and the parent will continue as normal.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ryanh
over 9 years ago
The trick is, you have to make sure that either the newly restarted flow reaches a terminate end event (the one with the black circle in it) or you first cancel the 'broken' node so the broken flow is completed and then restart the node. If you start the node first, the existing 'broken' flow will still exist when the fixed one reaches an end event. When the end event is reached the results are sent back to the calling process, but it doesn't continue where it left off.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel