+ Start a Discussion
sunil2018sunil2018 

Process builder : update a case field by a process

Hi All,
I am trying to create a process  in Process builder to update a custom text field in Case object for below criteria.

1)    Case description is not null 
AND
2)    Case description Ischanged
OR
3)    Case descripton IsNew()

I created a criteria for Executioning actions as Formula evaluates to true under criteria section with below formula. But this formula is giving syntax error. 

Formula:
[Case].Description  !=NULL AND (IsChanged() OR IsNew())
Best Answer chosen by sunil2018
Andrew GAndrew G
ISNEW() is not usd against fields, but against records.

And ISCHANGED needs a parameter to check if it's changed.

example:
OR( 
  ISNEW() ,
  ISCHANGED([Task].WhatId ) , 
  ISCHANGED([Task].Description ) , 
  ISCHANGED([Task].Subject )  
)
so above will fire if the record is new, or the value in the fields mentioned is changed.


regards
Andrew

All Answers

Andrew GAndrew G
ISNEW() is not usd against fields, but against records.

And ISCHANGED needs a parameter to check if it's changed.

example:
OR( 
  ISNEW() ,
  ISCHANGED([Task].WhatId ) , 
  ISCHANGED([Task].Description ) , 
  ISCHANGED([Task].Subject )  
)
so above will fire if the record is new, or the value in the fields mentioned is changed.


regards
Andrew
This was selected as the best answer
sunil2018sunil2018
Thank you Andrew