Rules: IF Types
's Rules engine allows administrators to apply client-specific business logic to positions during the sync process. Rules are structured as If/Then statements and run after company, skill, and flex mappings have been applied. Rules can be assigned either account wide or at the credential level, and each rule is assigned a priority number that determines the order in which rules are applied.
Administrators with elevated permissions can create, edit, and delete rules directly in VMS Sync Admin Tools without contacting VMS Sync Support.
This type of rule can only be used with Rules: THEN Types. IF type rules make use of multiple different functions or "Types". This article outlines each of those types with a brief description of what each one is.
Types of IF Rules
- comparison: This allows you to perform comparisons on data based on the defined operator. Set the option (operator) to one of the following to compare the selected field against the target.
- exactMatchTest: Test if the selected field matches against the target. Will not test boolean types (i.e. true/false).
- indexOf: Returns true if the selected field contains the target.
- inverseRegexTest: Use a regex pattern along with a regex flag to test against the selected field, returns true if there is no match.
- This allows you to filter out records with varying values.
- You can choose to apply your ‘THEN’ type rule to records that do not meet the criteria defined in this rule.
- Google is a great resource for more information on regEx flags.

- regexTest: Use a regex pattern along with a regex flag to test against the selected field.
- isSet: Returns true if the selected field is defined and is true or length is greater than zero.
- notDefined: Returns true if the selected field is not defined, the field is false or its length is zero.
- math: Set the operator to one of (add, sub, multi, div). Returns true if field <Operator> value is equal to the target.





