Background: I have an object 'Request' that can have different SObjectTypes as its Parent. For eg. The Request can have an Opportunity as its Parent, OR it can have a Case as its Parent and so on.
To achieve that I have created lookup fields on the Request object to the respective SObject Parents, lets say
ParentOpportunity__c
andParentCase__c
.I have also created a formula field
ParentId__c
on the Request object to dynamically determine the Parent Id:IF(ParentOpportunity__c != null, ParentOpportunity__c, IF(ParentCase__c != null, ParentCase__c,''))
I have a Screen Flow where I am using the Get Record Flow Element to query for Request records based on the ParentId.
What I have observed is that if I use
ParentId__c = inputId
, I dont get a Record, but if I modify the criteria to useParentCase__c = inputId
, the record is found
Is there any limitation on the Get Record Flow Element if the filter includes a Formula Field ?
inputId