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 '='