Print this page

How to correctly reference Record Types in filter criteria when using the Lightning Process Builder

Knowledge Article Number 000213934
Description There are three ways to reference the Record Type in filter criteria when working in the Lightning Process Builder. Each reference field requires a different reference to the Record Type to evaluate correctly. 
Resolution

The following is a guideline on how to reference the Record Type properly in filter criteria in the Lightning Process Builder.

Record Type ID: [Object].RecordTypeId 
This option must use the full 18 digit record type ID of the record type. Why does my process not trigger when trying to filter by an ID field?

Record Type Name: [Object].RecordTypeName
This option needs to use the Display Name of the Record Type

Record Type Developer Name: [Object].RecordType.DeveloperName
This option needs to use the API name of the record type found on the "Record Type Name" field on the record type details page.

To get the record type ID, use Dev Console / Workbench and query:

SELECT Name, Id FROM RecordType Where SobjectType='<object name here>'
example: 
SELECT Name, Id, SobjectType FROM RecordType Where SobjectType='Account'





promote demote