function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suji srinivasansuji srinivasan 

flows formulas not working

Hi,
this are my formula  used in decision 
1.PriorValueNeworWorking
ISCHANGED({!$Record.Status}) &&
(TEXT(PRIORVALUE({!$Record.Status})) = “New” || TEXT(PRIORVALUE({!$Record.Status})) = “Working” )


2.NeworWorkingCase
(ISNEW() && TEXT({!$Record.Status}) = “New”) ||
(ISCHANGED({!$Record.Status}) && TEXT({!$Record.Status}) = “Working”)

condition in decision
PriorValueNeworWorking = true
NeworWorkingCase=true

output:
Skipped this outcome because its conditions weren't met: case1
Outcome conditions
{!Newcaseworking} (false) Equals true
All conditions must be true (AND)
Skipped this outcome because its conditions weren't met: prior
Outcome conditions
{!priorworking} (false) Equals true
All conditions must be true (AND)
Default outcome executed.

can anyone guide me what went wrong ? I created case record status as new . later modified its status as working.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Formulas seems to be okay. Can you confirm what excatly you are trying to achieve here so I can try the same in my personal org and share you the flow formula.

Thanks
 
suji srinivasansuji srinivasan
Hi sai,
only New formula -(ISNEW() && TEXT({!$Record.Status}) = “New”) is working

(ISCHANGED({!$Record.Status}) && TEXT({!$Record.Status}) = “Working”) -not working 
$Record.Status is changed =true  also not working


I didnt get any syntax error.

condition in decision
I created a formula and setup a condition as below but it is not vaidating as per the formula

PriorValueNeworWorking = true
NeworWorkingCase=true

Thanks in Advance