Copy/Move File
Use the Copy/Move File action to copy or move a file from the source repository to the destination repository.
Complete the following steps to use the Copy/Move File action in your workflow:
1. Drag the
Copy/Move File action under
ThingWorx to the canvas, place the pointer on the action, and then click
or double-click the action. The Copy/Move File window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click
MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the
Runtime Connector field, provide a valid ThingWorx connector name. For more information about
MAP CONNECTOR, see
Using Map Connector.
6. Under the Source section, do the following:
a. In the Repository list, select or specify the ThingWorx source repository from where you want to copy or move the file.
b. In the File Path list, select or specify the file path within the repository.
c. In the File Name list, select or specify the name of the repository file that you want to copy or move.
d. In the File Action list, select whether you want to Copy or Move the file.
7. Under the Destination section, do the following:
a. In the Repository list, select or specify the ThingWorx destination repository where you want to copy or move the file.
b. In the File Path list, select or specify the file path within the repository.
c. In the File Name field, provide the name of the file. If you do not specify the name of the file, the file is saved with the source file name.
8. Click Done.
Output schema
The Copy/Move File action returns a message string.