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
Atul Shendge 2Atul Shendge 2 

Batch job which updates a field based on user language

Hi All,

Hope you all are doing good!

I have a requirement where a batch job needs to applied.
  • I have created a field Stage type text on Account object
  • Create a job that updates stage field  according to the User's language ( select id, PersonTitle, Language_c, UniqueID_c from Account where UniqueID_c != null and RecordType_c = 'Business' )
  • The problem is for Belgium accounts that have 2 languages ​​French and Dutch, and always translate to French
Regards,
Atul