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
Sudhir_MeruSudhir_Meru 

Work Flow or Trigger to Update Account Field

Hi,

 

    I have requirement to update all the NAM (North America Region) Data there are 50 state in the list. 

 

    Requirement is if User belongs to Region NAM only then this condition must execute. 

 

    Next in Accounts Object there is Bill_To_Name and Ship_To_Name fileds. These fields must update based on the condition below. 

 

  Eg: If User types California  it must update to CA

                                 New York it must update to NY. there are 50 state to add condition.

 


Please suggest me how to add this condition in workflow or trigger.

 

 

Do I have to go with workflow or trigger. 

 

Thanks
Sudhir

Best Answer chosen by Admin (Salesforce Developers) 
Sudhir_MeruSudhir_Meru

Hi, 

 

  In User Object there is a field called Region which is hold pick list value (APAC,EMEA,NAM).

 

  This condition must fire only if user is belonging to NAM region.

 

Thanks
Sudhir. 

All Answers

NHKNHK

Hi,

 

Can you please be more specific? like what is NAm? is it an object?

 

The second part  can be done easily with a trigger on Account.

 

Best Regards,

NHK

Sudhir_MeruSudhir_Meru

Hi, 

 

  In User Object there is a field called Region which is hold pick list value (APAC,EMEA,NAM).

 

  This condition must fire only if user is belonging to NAM region.

 

Thanks
Sudhir. 

This was selected as the best answer