Visual Workflow – Trouble Connecting a Subflow to a Main Flow

subflowvisual-workflow

I have a screen flow that displays Account fields dynamically based on the Type of account the user selects. The user then makes selections on the screen and saves the changes. I am trying to create an automation that would clear all of the user's previous selections if the Type of account is changed. I thought a subflow would be a workable solution, so I created a record-triggered flow (to be used as the sub-flow) with the AccountID variable available for input. When I try to call the record-triggered flow using the subflow element it is not populating in the 'Referenced Flow' search box. Trying to figure out why that is. Thanks!

Best Answer

A subflow must be autolaunched type or screen flow type, not record-triggered type. See documentation:

Add a Subflow element to your flow. In the Referenced Flow field, search for an autolaunched or screen flow to configure.

Related Topic