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
5 replies
Subscribers
7 subscribers
Views
3445 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I have a sub-process where I am spawning multiple instances. It is set
garym
over 10 years ago
Hi,
I have a sub-process where I am spawning multiple instances. It is set to run all instances at the same time.
For each of these instances, I am passing the output to a variable on the main process that is boolean and set to multiple (pv!isClosed).
I want to check that all the instances returned true and use that in an XOR gateway to determine the next path in the process.
What would be the best way to do this? Would that output variable be overwritten by the most recent instance that ran or can I use the tp!instanceindex to reference each output of each instance? I was looking at the all() function as possibly a way.
Thanks
Gary
...
OriginalPostID-129101
OriginalPostID-129101
Discussion posts and replies are publicly visible
Parents
0
vidyasagarm
over 10 years ago
You can try something like .....contains(pv!isClosed,false) and if you get output as false which means all the instances has returned true,.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
vidyasagarm
over 10 years ago
You can try something like .....contains(pv!isClosed,false) and if you get output as false which means all the instances has returned true,.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data