How to Pass Record Data from a Flow to a Subflow

Soki Ando
Tera Contributor
Triggered by the creation of a case in the Consumer record, I want to generate tasks set by actions in multiple subflows. I want to link the tasks to the Consumer record that triggered the case creation.

I have added a related list to the Consumer table and added a reference to the Task table. When a case is created for the Consumer record, the flow is triggered, and the tasks are generated, but the tasks are not linked to the Consumer record that triggered the process.

I believe the reason is that the data from the record is not being passed from the flow to the subflow, and I would like to know how to resolve this issue.

Current situation:

  • Set the Consumer record in a flow variable.
  • In the first step, I use "Set Flow Variables" to assign the Consumer record.
  • I expect this to pass the Consumer record data to subsequent subflows, but it doesn't (the flow variable in the subflow is not set).

If you know the solution, please let me know.

1 REPLY 1

Keith Gonzales
Kilo Sage

Hi, have you set the Parent field of the task to the Consumer record (assuming the relationship is Parent-Child)? If so, have you checked if the related list is working as expected?