function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kris Ryan SAKris Ryan SA 

create record collection variable from fields in one object record

I would like to create Tasks from fields in a record. We have a custom object titled Project Charter. The Charter can have up to 12 Action Steps, which are comprised of Title, When, By Whom, and Description. When the Charter is approved, we automatically create a Project and tie them together via a lookup field. We would like to take the 12 Action Steps and automatically create Project Tasks and assign them to the Project that was just created. Can I create a collection variable in flow that will contain the four fields for all 12, making it like an array? I want to then loop through this collection variable and create the Project Tasks.

I will call this flow from Process Builder when a Project is created, sending the Project ID and the Project Charter ID.

I have not used Flow that much, so I'm not sure if this can be done, and if so, how.