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
6011 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Cancelling Specific Tasks From a Separate Process
Issam Dabaie
Certified Senior Developer
over 8 years ago
Hello,
I have a report that assigns a task to a user.
A user is selected, the task is assigned to them, and this kicks off a process model that assigns and creates the task. There is a process with a sub-process contained within it.
The task needs to be able to be reassigned to another user via the report. The issue is that this creates a duplicate task but does not cancel the first task.
How can I cancel the first task if the new task is created in its stead?
The parent process sets up the values and the sub-process contains the user input task.
Thank you for your help.
OriginalPostID-261324
Discussion posts and replies are publicly visible
Parents
0
Issam Dabaie
Certified Senior Developer
over 8 years ago
Currently how it works is it creates a new process instance, it does not modify the old process instance.
I am looking into querying using a!queryProcessAnalytics() to see if a task already exists, then using a Send Message node to execute a Cancel Process node. I will update if this works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Issam Dabaie
Certified Senior Developer
over 8 years ago
Currently how it works is it creates a new process instance, it does not modify the old process instance.
I am looking into querying using a!queryProcessAnalytics() to see if a task already exists, then using a Send Message node to execute a Cancel Process node. I will update if this works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data