Workflow Query Options
In the the workflow query builder, you first choose the area of the workflow that the query is evaluating.
The following table defines the available options:
Option | Description | Trigger |
---|---|---|
File | Checks the value of file data, such as the file path or file owner. | Automatically on a File Activity |
Share | Checks the value of share data, such as the user who created the share. | Automatically on a Share Activity |
User | Checks the value of data for user who created the workflow, such as the user name or the user's last login. | Automatically on a File Activity Automatically on a Share Activity Started by a user on a file or folder |
Startedby | Checks the value of data related to the user who performed the file activity that triggered the workflow, such as the user's email or total storage. | Automatically on a File Activity |
Metadata | Checks if a certain metadata attribute exists for the file or folder, and if it does, if it matches the specified value. When the query checks if the metadata attribute exists for a folder, if it does not find it, it checks the files in the folder, and if any of them include the attribute with the value specified, indicates that the condition was true for the folder. | Automatically on a File Activity Automatically on a Share Activity Started by a user on a file or folder |
Var | Only appears if the workflow creator has added a custom variable to the workflow and the workflow has been saved. See Assign Variable Value in Workflow Steps for help adding an Assign Variable Value step. Checks if the variable has the value specified. | Automatically on a File Activity Automatically on a Share Activity Started by a user on a file or folder |
If Var current date matches | Checks if the current date/time matches the date/time when the timer is set. | Started based on a timer |
Ctx (Context) | Checks the value of the current date, the current date and time, or the workflow name. | Automatically on a File Activity Automatically on a Share Activity Started by a user on a file or folder |