Overview
The Conditional Validation Job allows you to evaluate multiple conditions within a single job. Based on the results of these conditions, the job will either Pass or Fail. This is ideal when you want to ensure a lead meets multiple criteria to be considered valid, such as Country, Job Title, and Email Domain.
For example, you can configure the job to:
- Verify the lead is from a specific Country (e.g., "USA").
- Confirm the Job Title includes a certain keyword (e.g., "Manager").
- Exclude leads with an Email Domain like "example.com".
This flexible setup ensures that only leads that meet all specified conditions are approved, streamlining your validation process.
Setup
Add new job
In a campaign, navigate to the Processr section, and in the Quality Assurance tab click the Add button which opens the Add Job modal popup. Select the 'Conditional Validation' job within the Job dropdown or start typing to find the job.
Configure Existing job
If you are editing the job, click the Configure button beside the job in the Processr.
Job Configuration
The conditional validation job allows you to add either a single condition or multiple conditions to the job. The image below illustrates a scenario with just one condition added and an 'Overall operation' decision-maker selector.
This Overall selector offers two values, ANY or ALL, which determine how the job will be marked as a pass or fail based on the conditions.
ANY | If any of the job condition is met, the job will be marked as a Pass |
ALL | The job will be marked as a Pass if ALL the conditions are met |
Multiple conditions can be organised into Sections, and you can add a new condition by clicking the "Add Section" button.
The image below illustrates two conditions added to the job. The first condition validates a country match, while the second condition checks for a job title match.
Configuring a job condition
FieldName
Within the CONDITIONS section, use the Fieldname dropdown to select the field that you want to check.
FieldValues
Within the configuration, use the FieldValues to add a value to which you would like the job to compare that you have selected in the Fieldname. You can add multiple values here by clicking on the Add button.
Comparision Operator
The Comparison Operator enables you to define conditions for the job. It specifies the type of comparison operation to be performed between the values of Fieldname and Fieldvalues.
For instance, if set to "Equals," the value of Fieldname must match exactly with the value of FieldValues for the job to be successful.
Logical Operator
The logical operator determines how the condition needs to be added to the other conditions.
In the above image, Logical Operator AND will add the final result to other conditions to evaluate the final job result.
The Logical Operator offers two values, AND or NOT, which determine how the job will be marked as a pass or fail based on the conditions.
AND | If the condition results in a pass for any of the FieldValues when evaluated with the FieldName, it is included with the other job conditions to determine the final job result. |
NOT | If the condition results in a pass for any of the FieldValues when evaluated with the FieldName, this condition is removed from the other job conditions, and the final job result is evaluated accordingly. |
After evaluating the individual conditions in the job, the OVERALLOPERATION is applied to determine the final result. Based on this evaluation, the job is then marked as either a Pass or Fail.
Example Scenario