Hi,
I am looking to set up this configuration in Appian and I'm not sure how to approach this. I am designing a task manager application where a single task can be assigned to multiple people. So in the interface form, it will list generic task details such as task name, description, due date, and who the task needs to be assigned to. If I assign it to Alice, Bob, and Charlie, then I want to create three tasks with each one assigned to each individual.
<Interface form>
Create a single task to "Do Laundry" and assign to Alice, Bob, Charlie.
<Data store>
1 - Do Laundry - Alice
2 - Do Laundry - Bob
3 - Do Laundry - Charlie
This way I can see if each person has done their task. I assume I need to use a for each loop somewhere in the process model? How do I code this in the process model to create X number of tasks and write X number of records?
Discussion posts and replies are publicly visible
Use Multiple Node Instances (MNI) on the User Input Task, with a process variable pv!assignees (multiple users). Configure the task to run one instance for each assignee so Alice, Bob, and Charlie each get their own task, then use a Write_To_Data_Store/Write_Record (with forEach over pv!assignees) to insert one record per assignee.