Skip to main content

Hello,

I have the following formula in record triggered Flow "Formula evaluates to True". I tried:

OR({!$Record.Opportunity.RecordType.Name}="XYZ",

{!$Record.Product2Id}=01t8Y00000P8C0G )

That one gives me this error: Error: Syntax error. Missing ')' . But it's not missing a ).

 

So I then tried:

OR({!$Record.Opportunity.RecordType.Name}="XYZ",

{!$Record.Product2Id}="01t8Y00000P8C0G" )

but it- then gives me this error: Error: Field Product2Id does not exist. Check spelling.

I get the {!$Record.Product2Id} from the Insert a Resource, so I can't figure out why it gives me either errors.

 

Let me know if you see what I'm doing wrong please?

Thanks,

CB

 

#Flow Formula

5 Antworten
  1. 13. März 2024, 17:39

    Try this  (you also need the full 18 digit ID, not 15)

    OR(

    {!$Record.Opportunity.RecordType.Name} = 'Sales',

    {!$Record.PricebookEntry.Product2.Id} = '01t50000000v0BpAAI'

    )

0/9000