Avoid Hardcoding Record Type in Flow #inSalesforce

Avoid Hardcoding Record Type in Flow #inSalesforce

To avoid this, get the record type querying for it based on certain filter criteria, then using the getRecord.Id


Create a record-triggered flow, object - Opportunity, Action, and Related Records

Get Element: getRecordType: Object - RecordType, Criteria: DeveloperName equals ClosedSales

Decision Element: If Stage equals Closed Won and Stage Ischanged True

Update Element: RecordTypeId = getRecordType.Id








Comments