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
Steve Gilbert 13Steve Gilbert 13 

Create a record using a flow and setting the record type

I am working on a flow that would create a new opportunity when the status and stage are set to specific values. It does run to completion on the test but will not create the actual record. I think that it might be with the lookup and assignment of the record type using the following variable:

User-added image

What makes it more enjoyable is that I need to have a decision node in this that splits the record create on the value in a custom field and then the record create will assign the record type based on the value in the custom field.

The field "Channel" would be set to "A" or "B". 
If "A" then the opp would be created with record type "A" if not type "B" needs to be created

Ideas would be great,
Thanks