0

I have a process with a Decision, and in that Decision I want to assess the Record Type of the record that initiated the process, but it does not appear as an option in the Field dropdown of the Set Conditions. It also does not recognise if I try to use [MySObjectType].RecordType.Name in a criteria formula.

enter image description here

How can I assess the Record Type of the record in a process?

1

When (and only when) the object has a record type configured, you can do something like:

[TheObject].RecordType.DeveloperName

This can be compared then with a string of the record type's API name (which is portable between orgs [production and sandboxes], unlike the record type ID itself).

You can select this in the following way when entering a field on the decision's criteria editor:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.