You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to auto populate Time Zone filed on Field Service Work Order with Work order creator's Time Zone

Accepted answer
32
Views
3
Comments

Summary:


Content (required):

  1. Time zone is a required field on field service work order.
  2. Also, every user has set their preferred time zone set under their regional setting.

We want to auto-populate the time zone in work order with the time zone of the user who would create the field service work order

adf.context.getSecurityContext()?.getUserProfile()?.getTimeZone(); is returning null whereas

adf.context.getSecurityContext()?.getUserName()?.getTimeZone(); is giving securityException

Version (include the version you are using, if applicable):

23B (11.13.23.04.0)

Code Snippet (add any code snippets that support your topic, if applicable):

adf.context.getSecurityContext()?.getUserProfile()?.getTimeZone(); is returning null whereas

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!