Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
transformations:morphservercommand [2021/07/04 23:09] – craigt | transformations:morphservercommand [2022/12/11 13:23] – Add new 5.3.2 options craigt |
---|
\\ | \\ |
=====Description===== | =====Description===== |
This action allows interacting with a remote EasyMorph Server using a configured EasyMorph Server connector. Currently, the action has 6 commands: | This action allows interaction with a remote EasyMorph Server using a configured EasyMorph Server connector. Currently, the action has 6 commands: |
* Run task | * Run task |
* Enable/disable task | * Enable/disable task |
* Delete file | * Delete file |
* List files | * List files |
| * List tasks |
| * Delete folder |
| * Create folder |
| * Rename folder |
| |
\\ | \\ |
|Task|Select the Server task to enable/disable.| | |Task|Select the Server task to enable/disable.| |
|Mode|Select whether this action will enable or disable the selected task. Options: //Enable task// or //Disable task//.| | |Mode|Select whether this action will enable or disable the selected task. Options: //Enable task// or //Disable task//.| |
|If task was enabled/disabled|Choose how EasyMorph reacts if the task was already enabled (in "Enable task" mode), or disabled (in "Disable task" mode). Options: //Ignore// (the workflow continues and not error is displayed) or //Fail// (the workflow stops and displays an error).| | |If the task was enabled/disabled|Choose how EasyMorph reacts if the task was already enabled (in "Enable task" mode), or disabled (in "Disable task" mode). Options: //Ignore// (the workflow continues and no error is displayed) or //Fail// (the workflow stops and displays an error).| |
| |
\\ | \\ |
====Upload file settings==== | ====Upload file settings==== |
**Description:** Upload a local file to a Server space 's public folder or its sub-folder. | **Description:** Upload a local file to a Server space's public folder or its sub-folder. |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|Local file<sup>*</sup>|Enter or browse to the local file to upload.| | |Local file<sup>*</sup>|Enter or browse to the local file to upload.| |
|Server folder<sup>*</sup>|Enter or browse to the Server folder to upload the file to. Leave this field blank to upload to the root folder.| | |Server folder<sup>*</sup>|Enter or browse to the Server folder to upload the file to. Leave this field blank to upload to the root folder.| |
|If a file with such name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. Options: //Overwrite//, //Do nothing//, or //Halt project execution//. See the "File already exists" table below.| | |If a file with such a name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. Options: //Overwrite//, //Do nothing//, or //Halt project execution//. See the "File already exists" table below.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
|Server file<sup>*</sup>|Enter or browse to the file on the Server to be downloaded.| | |Server file<sup>*</sup>|Enter or browse to the file on the Server to be downloaded.| |
|Local folder<sup>*</sup>|Enter or browse to the local folder to download the file to.| | |Local folder<sup>*</sup>|Enter or browse to the local folder to download the file to.| |
|If a file with such name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. Options: //Overwrite//, //Do nothing//, or //Halt project execution//. See the "File already exists" table below.| | |If a file with such a name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. Options: //Overwrite//, //Do nothing//, or //Halt project execution//. See the "File already exists" table below.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
|Folder<sup>*</sup>|Select the folder in the Server space to create the file list from. Leave this field blank for the root folder.| | |Folder<sup>*</sup>|Select the folder in the Server space to create the file list from. Leave this field blank for the root folder.| |
|Columns|Select the details of the found files to be included in the dataset. Each detail produces a column. Options: //File name with full path//, //File name only//, //File extension//, //Size//, and //Date modified//.| | |Columns|Select the details of the found files to be included in the dataset. Each detail produces a column. Options: //File name with full path//, //File name only//, //File extension//, //Size//, and //Date modified//.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
| \\ |
| ====List tasks settings==== |
| **Description:** Returns a list of tasks on the EasyMorph Server with a number of attributes such as task ID, project path, annotation, and schedule description. No settings are required for this command. |
| |
| \\ |
| ==== Delete folder settings==== |
| **Description:** Deletes the selected Server folder. |
| ^ Setting ^ Description ^ |
| |Server Folder<sup>*</sup>|Select the folder to be deleted.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
| \\ |
| ====Create folder settings==== |
| **Description:** Creates a new folder under the selected Parent folder on the EasyMorph Server. |
| ^ Setting ^ Description ^ |
| |Parent Folder<sup>*</sup>|Select the folder under which the new folder will be created.| |
| |Folder name<sup>*</sup>|Enter a name for the new folder.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
| \\ |
| ==== Rename folder settings==== |
| **Description:** Renames the existing, selected Server folder. |
| ^ Setting ^ Description ^ |
| |Target Folder<sup>*</sup>|Select the existing folder to change the name of.| |
| |New namer<sup>*</sup>|Enter a new name for the folder.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
|Overwrite|The new file replaces the original file.| | |Overwrite|The new file replaces the original file.| |
|Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| | |Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| |
| |Halt project execution|The project will stop processing and this action will display an error.| |
| |
| \\ |
| ====Folder already exists options==== |
| ^Option ^Description ^ |
| |Do nothing|No change (rename, create, delete) is made to the target folder.| |
| |Fail|The folder is not renamed, a warning is displayed, and project execution continues.| |
|Halt project execution|The project will stop processing and this action will display an error.| | |Halt project execution|The project will stop processing and this action will display an error.| |
| |
| |