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
3 replies
Subscribers
5 subscribers
Views
1861 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I am using Appian 7.5. I have applied MNI on a subprocess that has to
simranjits
over 10 years ago
I am using Appian 7.5.
I have applied MNI on a subprocess that has to execute say 2 times. Have used the option on the others tab: Move on when...Each time an instance finishes...
An output "A" on the subprocess has been mapped to a process variable "B". This process variable is then appended to a multiple type process variable "C".
So each time an instance leaves the subprocess, the appropriate value of variable A gets stored in variable B which in turn gives a variable C to which all the subprocess instance values have been appended.
Issue is: The second instance of the subprocess is although appended to the variable C but the value at index 2 is also copied at index 1. So at the end, I get a variable C with the values {Apple,Apple} instead of {Apple,Mango}.
What logic should I follow so that the variable C should have the value {Apple,Mango}? Tried using "is stored at" instead of "is appended to" but with no success. Should I use tp!instanceIn...
OriginalPostID-112205
OriginalPostID-112205
Discussion posts and replies are publicly visible
Parents
0
siddharthg521
over 10 years ago
Hi Simran,
I am not sure if I understand your use case properly, but as per my understanding please try the below stuff and it should solve your problem.
Double click the paths connecting your sub process node and other script tasks involved in the MNI logic and there is a check box for Keep flow synchrinized. Ensure that this check box is selected.
PS: In the other tab of MNI, configure move when each time an instance finishes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
siddharthg521
over 10 years ago
Hi Simran,
I am not sure if I understand your use case properly, but as per my understanding please try the below stuff and it should solve your problem.
Double click the paths connecting your sub process node and other script tasks involved in the MNI logic and there is a check box for Keep flow synchrinized. Ensure that this check box is selected.
PS: In the other tab of MNI, configure move when each time an instance finishes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data