0

I have a process builder I wanted to convert this process builder in to flow: In PB I have formula as

ISCHANGED([Opportunity].OwnerId ) 
&& CONTAINS([Opportunity].Name, 'SQO') 
&& PRIORVALUE([Opportunity].Owner.Profile.Name) = 'Sales -Tributary Sales Resources'

If I use same formula I get error as

The formula expression is invalid: Syntax error. Missing '=''

When I convert this formula in flow it looks like this:

AND(
    ISCHANGED([{!$Record.OwnerId}),
    CONTAINS({!$Record.Name}[Opportunity].Name, 'SQO'),
    ISPRIORVALUE({!$Record.{!$Record.Owner.Profile.Name}}) && {!$Record.Owner.Profile.Name} == 'Sales - Tributary Sales Resources'
)

I get the error

The formula expression is invalid: Syntax error. Missing '='

1 Answer 1

0

I have updated the below formula for the flow as per your process builder formula.

AND( 
    ISCHANGED({!$Record.OwnerId}), 
    CONTAINS({!$Record.Name}, 'SQO'), 
    PRIORVALUE({!$Record..Owner.Profile.Name}) = 'Sales - Tributary Sales Resources' 
    )

In flow == operator does not work. only you need to use the = operator to check equality.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .