Get Files From Server
Description:
Get Files From Server downloads agent-level or workflow-level files from the AutomationEdge Server to a local target directory at runtime. This step is useful when a workflow depends on configuration files, reference data, or other supporting files that are managed centrally on the server. You can choose to download all workflow-related files at once or select individual files by name. The step also provides options to handle conflicts when a file already exists in the target directory, such as overwriting, skipping, or raising an error.
When updating from the AutomationEdge UI, the file name should not be changed; otherwise, the process would fail to pick it up. If the file name changes, the workflow should be modified correspondingly.
Configurations:
| Field Name | Description |
|---|---|
| Step Name | Name of the step. This name has to be unique in a single workflow. |
| General Tab: | |
| Common Input Parameters: | |
| Download all workflow related files | Enable 'Download all workflow related files' check box to download all workflow related files; any entry related to workflow level in the table below will not be considered. |
| Target Directory | Target Directory is enabled only if the checkbox above is selected. Specify target directory to copy all the workflow related files. |
| Tabular Fields: | |
| Level | Allowed values are Agent/Workflow. Note: - If the 'Download all workflow related files' checkbox above is selected, then only Agent is shown in the dropdown list. - For Same level, duplicate filename is not allowed |
| Filename | Specify the file name with extension, to be downloaded. |
| Target Directory | Specify the target directory to download the file. If target directory is not specified, the file is downloaded in the directory of the workflow/agent (i.e. Internal.Entry.Current.Directory path). |
| Configuration Tab: | |
| Ignore Errors | Enable checkbox to ignore all errors in downloading f iles f rom server. |
| If file exists: | |
| Radio button options: | Select a radio button option below to specify the behaviour if filename already exists in the target directory. - Overwrite existing files (Default) - Error if file exists - Skip if file exists |
Note: This step can be used as a first step or intermediate step. In case of intermediate step, execution is done only for the first row.