clsUTCToTimeZone Step

Last published at: May 2nd, 2023

Description:

Convert UTC date times to selected time zone

Inputs

  • timeZone - Select Time Zone
  • utcVarGlobals - Select UTC date/time and variables/globals

Returns

  • True – step executed successfully 
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the clsUTCToTimeZoneDef example.

  • Create a new definition called “clsUTCToTimeZoneDef
  • Select the definition and click the “design” button
  • Drag the above controls to the canvas
  • Connect the dots between the controls as above
  • Click on the “clsUTCToTimeZone” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Save the workflow definition, create a workflow instance and execute. 
  • Check the step properties by rendering the workflow instance. clsUTCToTimeZone step should convert UTC date times to selected time zone as shown on the below graphic.