
AND(
NOT(ISBLANK([FeedItem].ParentId)),
NOT(ISBLANK([FeedItem].Parent:Instance__c.Id)),
NOT(ISBLANK([FeedItem].Parent:Instance__c.Name))
)
The "[FeedItem].Parent:Instance__c" syntax was generated by the field picker on the formula builder. I am allowed to save this and am able to activate the process. When the process runs, however, it always generates an error like this:
The flow failed to access the value for myVariable_current.Parent:Instance__c.Id because it hasn't been set or assigned.|FlowDecision|myDecision
So, is it possible to evaluate the fields of a FeedItem's parent object in process builder? Is the syntax of the formula incorrect?
Thanks!
3 respostas
Try setting the condition without a formula... like this:
[FeedItem].ParentId | Starts with | ID | XXX
* Replace
XXX with the first three characters of your custom object's ID
The process will only fire if the parent record of the FeedItem is a record from the custom object you're specifying.