1. Process 1
So I guess using "RecordType.DeveloperName" is considered as cross object reference. Will change it to 18-digital record type id.
However, my user get an error when trying to save the case. And the failure notice sent to me says "The flow failed to access the value for myVariable_current.RecordType.DeveloperName because it hasn't been set or assigned".
But the question is: the user can't yet see field 3 on the page. It's a formula field in Case (number, blank as zero). Why the process is still get fired?
Moreover, when I do the testing, the process is working without any error even when I use RecordType.DeveloperName in the criteira. When I login as the affected user, I can never reproduce the issue.
2. Below two processes are for Opportunity.
Field 2 is a lookup field on Opportunity page.
I used a formula field to check the value of this field: IF( ISNULL( First_Approver__c ) ,"Yes","No").
When it's not filled in, formula still returns No.
When I change the formual to: IF( ISBLANK( First_Approver__c ) ,"Yes","No"). The formula returns Yes.
So I assue this field is not actually NULL when it's blank.
However, when I tested, the processes were triggered exactly as I defined.
When field 2=blank, process 1 fired. When field 2<>blank, process 2 fired.
When the user tested - they can't see field 2 on their page so it shouold always be blank, process 1 never fired but process 2 was triggered and they get errorr. The notice is the same "The flow failed to access the value for myVariable_current.RecordType.DeveloperName because it hasn't been set or assigned".
A little bit lost...
2 answers