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
8 subscribers
Views
2580 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
In our Application, Process models are chained. User can step back to any node a
komalk
over 8 years ago
In our Application, Process models are chained. User can step back to any node anytime. So there are few nodes e.g. save data to DB , should be called only once. Even if user steps back many times, node should be executed once. Please help m to know, how to configure node to run only once?
Should we go for MNI with instance number=1 only?
OriginalPostID-167503
OriginalPostID-167503
Discussion posts and replies are publicly visible
Parents
0
sanjays0006
over 8 years ago
Hi,
I think the below procedure works:
Have the Save to DB in a subprocess.
In the subprocess, make sure that you use a flag and write a condition that If flag is true, then only run the DB node else DO not perform any task and simply exit the subprocess.
In the main process, for the first time, after the subprocess(Save to DB) is completed, change the flag from true to false.
So whenever the subprocess is called, I think because of the flag ,Save to DB task would not be executed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sanjays0006
over 8 years ago
Hi,
I think the below procedure works:
Have the Save to DB in a subprocess.
In the subprocess, make sure that you use a flag and write a condition that If flag is true, then only run the DB node else DO not perform any task and simply exit the subprocess.
In the main process, for the first time, after the subprocess(Save to DB) is completed, change the flag from true to false.
So whenever the subprocess is called, I think because of the flag ,Save to DB task would not be executed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data