Workflow Query Conditions

In the workflow query builder, after you choose the area of the workflow that you are querying, you must choose a condition related to that area. The following tables define the available conditions for each area of the workflow.

File Conditions

ConditionDescriptionExample
path equalsChecks if the filename with its full path is/is not this value.If the full file path is /myuser/mydir/myfile.pdf
Parent path equalsChecks if the directory of the file is/is not this value.If the file's directory is /myuser/mydir
extension isChecks if the file extension is/is not this value.If the file extension is txt
size isChecks if the file size falls within the range indicated.If the file size is > 100000 or < 500000 in bytes
owner isChecks if the file owner is/is not the user specified.If the file owner is aliahberk
owner's email isChecks if the file owner's email is/is not the email specified.If the file owner's email is aliahberk@example.com
path starts withChecks if the file path begins/does not begin with the directories specified.If the file's directory starts with /myuser/mydir
path containsChecks if the file path contains/does not contain the folder directory specified.If the file's directory contains mydir in its path
path matchesChecks if the text specified has a match/does not have a match in the file path.If the file directory has *dir* anywhere in it

 

Share Conditions

ConditionDescriptionExample
path equalsChecks if full path of share is/is not this value.If share path is /myuser/mydir/myfile.pdf
type isChecks if share is/is not public or private.
Valid values are public and private.
If share is public
created byChecks if the share owner is/is not the user specified.If the share owner is jaredmc
created by user with emailChecks if the share owner's email is/is not the email specified.If the share owner's email is jaredmc@example.com
is publicChecks if the share is/is not publicIf is public = False (if the share is private)
is directoryChecks if the share is a file or folderIs Share is directory = True (if share is a folder)
allowed users contains emailChecks if the users added to the share include this emailIf users added to share include maurap@example.com
allowed groups contains groupChecks if the groups added to the share included this groupIf groups added to share include Accounting
users contains email domainChecks if the users added to the share include/do not include this email domainIf users added to share include the email domain gmail.com
users are ONLY from domainChecks if the users added to the share are only/are not only from the email domainIf users added to share are only from the email domain verizon.com
path starts withChecks if the share path begins/does not begin with the directories specified.If the share path's directory starts with /myuser/mydir
path containsChecks if the share path contains/does not contain the folder directory specified.If the share path's directory contains mydir in its path
path matchesChecks if the text specified has a match/does not have a match in the share path.If the share path's directory has *dir* anywhere in it


User Conditions
(User is user who created the workflow)

ConditionDescriptionExample
User name isChecks if the workflow creator's username is/is not this value.If the workflow creator's username is aliahberk
User email isChecks if the workflow creator's email is/is not this value.If the workflow creator's email is aliahberk@example.com
User type isChecks if the workflow creator's user type is/is not this value.
Valid values are Full Access, Limited Access, and Guest Access.
If the workflow creator's user type is Full Access.
User's last logged isChecks if the workflow creator's last log-in date  is prior to the value indicated.If the workflow creator's last log-in date is <2023-08-30
User's total storage in GB isChecks if the workflow creator's total storage in GB is greater than the specified value.If the workflow creator's total storage is >100GB
User is part of groupChecks if the workflow creator is\is not part of the group specified.If the workflow creator is part of the Accounting group.
User's email domain is inChecks if the workflow creator's email domain is\is not the domain(s) specifiedIf the workflow creator's email domain is not gmail.com


Startedby Conditions
(Startedby is the user who performed the action that triggered the workflow)

ConditionDescriptionExample
Started by User name isChecks if the startedby user's username is/is not this value.Checks if the startedby user's username is jaredmc
Started by User email isChecks if the startedby user's email is/is not this value.If the startedby user's email is jaredmc@example.com
Started by User type isChecks if the startedby user's user type is/is not this value.If the startedby user's user type is Full Access, Limited Access, or Guest Access
Started by User's last logged isChecks if the startedby user's last log-in date is prior to the value indicated.If the startedby user's last log-in date is <2023-08-15
Started by User's total storage in GB isChecks if the startedby user's total storage in GB is greater than the specified value.If the startedby user's total storage is > 200GB
Started by User is part of groupChecks if the startedby user is\is not part of the group specified.If the startedby user is part of the Marketing group.
Started by User's email domain is inChecks if the startedby user's email domain is\is not the domain(s) specifiedIf the startedby user's email domain is mycompany.com


Metadata Conditions

ConditionDescriptionExample
Exists for the fileChecks if the metadata and metadata attribute specified exist/do not exist for this file.If cce.pii exists as a metadata group and attribute.
Exists for the file with valueChecks if the metadata and metadata attribute with the given value exist/do not exist for this file.If cce.pii exists and is equal to yes
Exists for the file with value in arrayIf the metadata and a metadata attribute with one of the values in the array exist/do not exist for this file.If cce.pii exists and is equal to one of the following: yes, y, unknown 
Exists for the file that matches the following conditionIf the metadata and a metadata attribute matching the condition given exist/do not exist.if invoice.amount exists and is > 500


Var Conditions

ConditionDescriptionExample
<var name> matchesIf the value of the variable is equivalent/is not equivalent to the value(s) indicated.If filecount > 1000


If Var current date matches

This condition only applies to the trigger Started based on a timer. The condition is already defined as if Var Current date matches and no other conditions may be selected.


Ctx Conditions

ConditionDescriptionExample
Current date matchesIf the current date is equivalent/is not equivalent to the value(s) specified. If the current date is StartDate
Current date and time matchesIf the current date is equivalent/is not equivalent to the value(s) specified. If the current date and time is greater than StartDateTime and less than EndDateTime
Workflow Name matchesIf the workflow name matches/does not match the name specified. If the workflow name is CreateDirectory