The File activity performs basic operations with files: creates, deletes, copies, and moves them. For example, you can use it to delete temporary documents you won't need after or to move the file you were working with to another folder (to the archive, for approval etc.).
To open the settings window, click on the activity on the process diagram.
The Parameters tab displays the basic activity parameters:
- Name. The activity name on the process diagram. Its name is set by default when adding the activity. You can change the name in this field;
- Operation. Select the action applied to the file: Create, Delete, Copy or Move.
- Path to the file. The file location in the file system. You can also use process context variables the path or its part is kept in. To add a variable, click on the button. Read more about the context variables in the Process context article.
- Path to the new file. A new file location in the file system. This field appears when copying or moving the file. You can also use process context variables the path or its part is kept in. To add a variable, click on the button. If the path contains folders that are missing in the file system, they will be created.
Read more about the Conditions tab in the Basic activity settings principles article.
Found a typo? Highlight the text, press ctrl + enter and notify us