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
6 subscribers
Views
3101 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Using Rule Event Expression/Condition in-flight modification or process upgrade
abhinavg
over 9 years ago
Using Rule Event Expression/Condition in-flight modification or process upgrade
Issue: If rule event condition or expression is modified as in flight modification or as process upgrade , rule event never re-evaluates the updated condition /expression again, whereas if new instance is being created using new condition, rule event get triggered as expected.
Need to update rule event condition for live production instances, is there any other way to achieve the same
Thanks,
Abhinav
OriginalPostID-162974
OriginalPostID-162974
Discussion posts and replies are publicly visible
0
Dan
Certified Lead Developer
over 9 years ago
I know you can use the process upgrade smart node to cancel and restart individual nodes, I have done this in the past, when the node is restarted then the new rules will get executed, we used this approach to upgrade quick tasks in long running dashboard processes in older versions of Appian
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dan
Certified Lead Developer
over 9 years ago
Obviously it depends on your individual process as to whether this is appropriate for you, if the rule event condition is attached to a complex sub processes with multiple human interactions then the cancel and restart node may not be an appropriate choice
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 9 years ago
Issue is with rule event not triggering even when the condition is being true after doing upgrade
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dan
Certified Lead Developer
over 9 years ago
It depends on where the rule event is, if the node is active when you did the upgrade then it won't re-execute. Have you tried on your test system cancelling the node and restarting it (if this is an option), also is it a node on it's own or is it attached to a process step?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dan
Certified Lead Developer
over 9 years ago
If the node is on it's own attached to nothing then you could change the condition and start a new instance of the node, but you will need to make sue the process terminates to remove the previous instance and allow the process to end properly
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 9 years ago
it depends on where the rule event is, if the node is active when you did the upgrade then it won't re-execute. -- this is the behavior i'm seeing
Rule event is in the process model and being used to reach/ connect to terminate event to terminate the respective instance, when certain expression/condition evaluates to true.
Will try the cancel and restart node(post upgrade) and update you back ..
Thanks for the help dcooke !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 9 years ago
@dcooke Yes on cancel and restart of rule event, rule get triggered if condition evaluates to true
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel