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
2 replies
Subscribers
6 subscribers
Views
2750 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Invoking sub-process by selecting "run one instance for each item in Array
vikask
over 12 years ago
Invoking sub-process by selecting "run one instance for each item in Array of Number/ Spawn all" and Move when all instances are done. While mapping parent and sub-process, using index (pv!processvariable,tp!instanceIndex) to store the value of element in sub-process variable. During debugging the process , not able to see sub-process variable in monitor mode. Any suggestions ?...
OriginalPostID-37304
OriginalPostID-37304
Discussion posts and replies are publicly visible
Parents
0
John
over 12 years ago
tp!instanceIndex is not valid for a multi-node instance of a sub-process node. To acheive the same effect, you simply map your multiple pv! from the parent to a single pv! of the sub that is of the same type. As long as the length of the multiple pv! is the same as the number of instances spawned, Appian will pass the corresponding value down to the sub. Note that you cannot use any expressions or pass byreference(). You must pass directly using the drop-down selection. But it works, and we use the functionality all the time.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
John
over 12 years ago
tp!instanceIndex is not valid for a multi-node instance of a sub-process node. To acheive the same effect, you simply map your multiple pv! from the parent to a single pv! of the sub that is of the same type. As long as the length of the multiple pv! is the same as the number of instances spawned, Appian will pass the corresponding value down to the sub. Note that you cannot use any expressions or pass byreference(). You must pass directly using the drop-down selection. But it works, and we use the functionality all the time.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data