I am getting this flow error,while updating field in process builder:
This error occurred when the flow tried to update records: The flow failed to access the value for myVariable_current.RecordType.Name because it hasn't been set or assigned..
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
I'm assuming the right-hand-side of this image would show that you're assigning the reference to the Record Type Name of that
SymphonyIPM__ record. This issue will occur when that object's Record Type is null, because in trying to reach the record type's name you're actually traversing a join:
(my object)->RecordType via RecordTypeId->Name
null, this results in an exception.
This isn't actually the right way to assign an object's record type in Process Builder, however. Instead of assigning the Record Type Name, simply assign the
RecordTypeId directly. That will work even if your source record has a null record type.