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
- 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: Select a file from a folder in the Control Room.
- Desktop file: Select a file from your device.
- Variable: Specify the File variable that contains the file location.
- Select one of the following options to specify the file path:
- Static file path: Browse the Control Room repository or your device and select the file. Use this option when the file path does not change.
- Dynamic file path: Browse the Control Room repository or your device and select the file. It also lets you insert variables in a file path to copy a file from the Control Room repository or your device where the 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$
- In the Assign the input to field, select a File variable to save the output.