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
GauriiGaurii 

I have a requirment if the picklist value is 'abc' then copy the formula field value to text field value of same object.I am writing workflow but not sure why the field update is not working.

RD@SFRD@SF
Hi SWA

Can you paste a screen shot of the workflow definition, that ll be more useful

Regards
RD
GauriiGaurii
@RD@SF
OR(AND(PRIORVALUE(Preferred_Email_Type__pc)='Secure Email' ,
(PRIORVALUE(Preferred_Email_Type__pc)<>'Secure Email')))
 
 
Field to UpdateAccount: Preferred Email
Field Data TypeEmail
  
Formula ValueSecure_Email__c
Thiruchuri AdityanThiruchuri Adityan
I believe, the criteria what you mentioned is wrong.  Can you clearly mention the scenario with the correct API Field Names ?
GauriiGaurii
if the picklist value 'Preferred_Email_Type__pc' is selected as 'Secure Email'  on account object then 'Preferred email'  should copy the value of Secure_Email__c
RD@SFRD@SF
Hi SWA,

Use this formula
 
AND(ISCHANGED(Preferred_Email_Type__pc),Preferred_Email_Type__pc='Secure Email')

So this formula would work for condition when the value is getting selected as "Secure mail"

Hope it helps
RD
Thiruchuri AdityanThiruchuri Adityan
Instead of formula choose the criteria in Workflow like below.  And then go with the approach of field update...
User-added image