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
17 replies
Subscribers
5 subscribers
Views
9111 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Node assignment with MNI
mariohp
over 7 years ago
Hi,
I need to create multiple instances of a node and assign each instance to a different group, for this purpose I'm using Multiple Node Instances with tp!instanceindex but when the flow reachs my MNI node I'm getting the following error message (pv!array contains the groups):
OriginalPostID-264794
Discussion posts and replies are publicly visible
0
mariohp
over 7 years ago
I've tried what you said (using the "one instance per assignee" and assigning to the list of groups) but the result is that no instances are generated.
I don't know how to try the second solution you suggest, I think there is no way to use the tp!instanceindex in subprocess MNI
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 7 years ago
Your subprocess would have two inputs - one for the index (number, integer, multiple) and one for the group list (group, multiple). You would set the index input to tp!instanceIndex on the subprocess node configuration and fix the group input as your array of groups. Within the subprocess, you would set the assignee to pv!array[pv!index].
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 7 years ago
Apologies - that should have said index (number, integer, not multiple)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mariohp
over 7 years ago
I can't use the tp!instanceindex in a subprocess input, it doesn't appear... sorry
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 7 years ago
It is available, just not visible. Type it into the expression manually :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mariohp
over 7 years ago
It works, thank you so much!! :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 7 years ago
No problem! :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<