To copy a file in a folder or SharePoint library to another folder or SharePoint library via WebDAV, complete the following steps:
- Check out and open the process.
- In the Toolbox pane, click Internet. A list of activities is displayed.
- Double-click or drag the WebDAV Copy or Move activity into the process.
- Link the activity appropriately with other activities in the process.
- Right-click the WebDAV Copy or Move activity. A shortcut menu is displayed.
- Select View Properties. The WebDAV Copy or Move window is displayed.
- Click the Source File tab. The corresponding screen is displayed.
- In the Action to Perform field, select Copy file.
- In the URL section, select the appropriate input field editor and set the field to a value that is a URL to the file you want to copy.
- In the Authentication section, select Run as BPM Server or Specify credentials.
Note: |
If you select Run as BPM Server, access will be granted or rejected based on the BPM Server credentials.
If you select Specify credentials, complete the Username, Password, and Include domain fields using the appropriate input field editors. The Include domain check box and corresponding field is optional. |
- Click the File Destination tab. The corresponding screen is displayed.
- In the Output File Name field, select the appropriate input field editor and set the field to a value that is a file name.
- In the If the file already exists section, select Overwrite the file or Increment the file name.
Note: |
Select Overwrite the file to replace the existing file. Select Increment the file name to append a _1, for example, to the file name the first time the process runs and sees that a file already exists. The number will increment each time the process runs and finds a file with the same name. |
- In the Output File Location section, select the appropriate input field editor and set the field to a value that is a file location.
- In the Authentication section, select Run as BPM Server or Specify credentials.
Note: |
If you select Run as BPM Server, access will be granted or rejected based on the BPM Server credentials.
If you select Specify credentials, complete the Username, Password, and Include domain fields using the appropriate input field editors. The Include domain check box and corresponding field is optional. The Create directory if it does not exist section is optional. |
- Click OK. You configured the activity to copy a file in a folder or SharePoint library to another folder or SharePoint library via WebDAV.