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
8 subscribers
Views
1477 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We are trying to generate multiple instances of a docX smart service inside a su
supreetay
over 8 years ago
We are trying to generate multiple instances of a docX smart service inside a sub process for each item of a PV array. For which we have used the other tab-> Run one instance for each item in [pulldown list]->Spawn all
But while doing so we see the parent process is running multiple times instead of the sub process.
also the DOCX generated has all the items of the array in a single document.
OriginalPostID-168881
OriginalPostID-168881
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 8 years ago
To extract the corresponding item for the particular instance from an array you need to do pv!myArray[tp!instanceIndex].
tp!instanceIndex increments every time a new instance is started as part of the Multiple Node Instances configuration.
Make sure to select the option "Move on only once all instances complete" so that the flow doesn't continue until then.
The configuration should go in the DOCX node not in the sub-process (depending on your use case)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 8 years ago
To extract the corresponding item for the particular instance from an array you need to do pv!myArray[tp!instanceIndex].
tp!instanceIndex increments every time a new instance is started as part of the Multiple Node Instances configuration.
Make sure to select the option "Move on only once all instances complete" so that the flow doesn't continue until then.
The configuration should go in the DOCX node not in the sub-process (depending on your use case)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data