Read and Review Automation Anywhere Documentation

Automation 360

Close Contents


Open Contents

Using the Assign action

  • Updated: 2022/04/08
    • Automation 360 v.x
    • Build
    • RPA Workspace

Using the Assign action

Use the Assign action to assign a String variable with a selected datetime format, assign a datetime value manually, or assign an existing Datetime variable into a Datetime variable.


To assign values to a Datetime variable, perform the following steps:

  1. Double-click or drag the To string action from the Datetime node in the Actions palette.
  2. Select either the Enter the date time or Variable option.
    • If you selected the Enter the date time option, perform the following steps:
      1. Enter the date time values or select a String variable.
        Note: To enter multiple variables, separate them with single quotation marks. For example, to input the variables date1 and time1, enter the following: 'date1"time1'
      2. Select the date time format.

        Choose from the prebuilt formats or provide a custom format. For more information about the prebuilt formats, see Datetime formats.

    • If you selected the Variable option, choose either the Datetime option or the Variable option.
      • Use the Datetime option if you want to select the date, time, and timezone manually.
      • Use the Variable option if you want to select the Datetime variable or other variables that can have Datetime as a subtype, such as the Dictionary, Record, and list variables.
  3. Select the variable to use to store the output from the Destination Datetime variable list.
  4. Click Save.
Send Feedback