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:

OptionDescriptionTrigger
FileChecks the value of file data, such as the file path or file owner.

Automatically on a File Activity
Started by a user on a file

ShareChecks the value of share data, such as the user who created the share.Automatically on a Share Activity
UserChecks 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
StartedbyChecks 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
MetadataChecks if a certain metadata attribute exists for the file, and if it does, what its value is.Automatically on a File Activity
Started by a user on a file
VarOnly 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
If Var current date matchesChecks 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