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
4 replies
Subscribers
6 subscribers
Views
2618 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, we are trying to dynamically reassign a task based on updated pv's. We h
bruceh
over 11 years ago
Hi, we are trying to dynamically reassign a task based on updated pv's. We have a process that runs daily to query the DB and update or cancel the main process.
Once a main process is started how can we reassign the task. for example: process A starts on day 1 and the task is assigned to group X but it is not completed by the EOB. Day 2+ the process variables are updated and we need to re-evaluate the assignment based on the pv's. I have attached a file with more information. Many thanks!...
main_pm.doc
OriginalPostID-103706
OriginalPostID-103706
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 11 years ago
If you use an expression for the task assignment then update then re-evaluate the PV (of type Group) when you update on day 2+
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bruceh
over 11 years ago
Tim, thanks. that sounds like a nice and easy solution.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jason Ruvinsky
Certified Senior Developer
over 11 years ago
In addition to updating the process variable, you need to have an exception flow on the task that detects a flag you set (or some expression that tells it the assignment has changed), then flows through a script task to reset the flag and then reactivate the task. The assignment is only evaluated when the node is started, it won't dynamically update the assignment without restarting the node in this manner.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bruceh
over 11 years ago
Jason- I was trying to update the assignment without using the script task so thanks for clarifying.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel