Assign action

The Assign action in the File package enables you to assign a file from the Control Room, Desktop, or an existing File variable to a user-defined File variable.

Settings

Assigns a file from the Control Room, Desktop, or an existing File variable to a user-defined File variable.

Do the following steps to assign a file:
  1. In the File variable or value to be assigned tab, select one of the following options to specify the location of your file:
    • Control Room file: Enables you to select the file that is available in a folder in the Control Room.
    • Desktop file: Enables you to select the file that is available on your device.
    • Variable: Enables you to specify the File variable that contains the location of the file.
  2. Select one of the following options to specify the file path:
    • Static file path: Enables you to browse the Control Room repository or your device and select the file. Use this option when the file path is static.
    • Dynamic file path: Enables you to browse the Control Room repository or your device and select the file. In addition, it also enables you to insert variables in a file path to copy a file from the Control Room repository or your device where the file path is dynamic. You can insert a variable that holds the entire file path or part of the file path. For example, Bots\FileBots\$csvName$
  3. In the Assign the input to field, select a File variable to save the output.