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
Vishnu SanthoshVishnu Santhosh 

How formula field can take up values based on Sandbox used [ NEED TO UPDATE A FIELD VALUE USING PROCESS BUILDER] ?

Hi Community,

Say there are 3 sandboxes - DEV, QA & UAT and a custom field, say, Sandbox name. 

I am required to update that field to the sandbox value, in the sandbox that is being used.

If we are using sandbox - DEV, 'Sandbox name' field needs to have value - 'dev box'. Like wise, when using QA and UAT, it should have the values 'qa' and 'uat' respectively.

How can I update the same using a process builder that uses a formula to update the value based on the sanbox being used ?

 

 

AnkaiahAnkaiah (Salesforce Developers) 
Hi Vishnu,

Please refer the below link will help you to proceed further on your requirement.

https://salesforce.stackexchange.com/questions/16181/how-to-get-sandbox-name-in-apex

Regards,
Ankaiah