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
SforcehariSforcehari 

Critical Workflow rule

Hai friends,

 

  1. Upon a new record orchanged Status= “get” , set DCRRequired to “ADD”

  2. Upon a changefrom Status= “get” to adifferent Status,set DCR Requiredto “Delete”

 

How we can achieve this functionality.

 

Regards,

Haribabu

Best Answer chosen by Admin (Salesforce Developers) 
Steve :-/Steve :-/

Create 2 seperate WFR with Field Update WF Actions.  The first one triggered when the status is "Get", the second one when the ISCHANGED(Status) and PRIORVALUE(Status) = "Get" 

All Answers

Steve :-/Steve :-/

Create 2 seperate WFR with Field Update WF Actions.  The first one triggered when the status is "Get", the second one when the ISCHANGED(Status) and PRIORVALUE(Status) = "Get" 

This was selected as the best answer
SforcehariSforcehari

Hai ,

 I have configured the first work flow it is working fine,

 

BUt i am getting problem with 2nd Workflow, I am getting the following Error.

 

 My Rule IS:-       ISCHANGED( Status__c )  &&  (PRIORVALUE(Status__c ) = "Producton")

         

Getting Error :-    Function ISCHANGED may not be used in this type of formula

 

Can you please help ME!

 

Thank you

Haribabu