Skip to content

File Actions

File Actions allow one to automate the execution of actions when new files are added a project. An action consists of the following:

  • A glob pattern used for matching against new files. The action will only execute if the glob pattern matches against the new file name.
  • A Workflow to execute against the new file. In the future, new action types will be added to allow one to perform a variety of steps when new files are uploaded.

In order to be able to create File Actions in a project, you must have the Rules Admin access right.

Creating a File Action

  1. Navigate to the File Actions web console and click the Add Action button in the top header.

  2. Provide a name for the Action and a glob pattern to use for matching files. Specify Name

  3. Select the master CWL Workflow file Select CWL File

  4. Provide values for any string inputs. File inputs will automatically be populated with the newly uploaded file. For string inputs, one can use {{id}} or {{name}} to substitute in the name or ID of the newly uploaded file. Select CWL File

  5. Select any CWL dependency files, if needed Select deps

  6. Review the Action settings and click Next to create the action Review

Last update: 2021-01-15