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
4 replies
Subscribers
6 subscribers
Views
1884 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hello, I need help figuring out how to configure a sub process using
issamd
over 9 years ago
Hello,
I need help figuring out how to configure a sub process using a Multiple Instance Node to save to a multiple CDT.
I've tried many different configurations and it seems to run the instance twice for every index in the CDT but it only recognizes and saves to the first index.
Any help is appreciated, thank you.
OriginalPostID-161654
OriginalPostID-161654
Discussion posts and replies are publicly visible
0
Colin Schoenfelder
Certified Lead Developer
over 9 years ago
This can be a bit of a tricky situation, are these CDTs being saved into a datastore inside the subprocess? One pattern could be to store them all in the subprocesses, then query back for them in the parent once all instances have completed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
issamd
over 9 years ago
They are not being stored in the DB in the process, I wanted to save that for after the process because an MNI with writes to datastore can be bad for performance.
I may go the route of looping using an XOR.
Thank you for your input!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nageswararaoa
over 9 years ago
Use tp!instanceindex to pass each row in your CDT
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
issamd
over 9 years ago
This worked, thank you! It helped me find a solution using MNI.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel