Skip to main content
Hello there - I am trying to create a process that runs on the FeedItem object, but only when that FeedItem's parent is a certain custom object in my organization (Instance__c).  I have set the criteria for the flow to a formula with this code:

 

 

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 Antworten
  1. 15. März 2018, 22:06

    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.

     

     
0/9000