How to Pass Record Data from a Flow to a Subflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2024 06:53 PM
I want to trigger a flow when a case is created on a Consumer record, and then automatically create a task using a subflow action. I would like to link the Consumer record that triggered the case creation with the task record that was generated.
When a support case is created on the Consumer record, the flow is triggered, and a task is generated, but the task is not linked to the Consumer record that initiated the process.
I believe the reason for this is that the record data is not being passed from the main flow to the subflow. I would like to know how to resolve this issue.
Current Situation:
I’ve added a related list to the Consumer table and added a reference to the Task table.
I’m setting 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’s data to the subsequent subflow, but it doesn’t work (the subflow’s flow variable is not being set).
If you know of a solution, please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2024 08:49 PM
Configure it as shown below. Remember to save and publish the sub-flow post making these changes so that it can reflect in your flow.
Please mark this response as correct and helpful if it assisted you with your question.