Verification Activities in Automation Studio only evaluate record counts. This article explains the configuration steps to stop an automation based on specific data conditions by combining SQL Query Activities with Verification Activities.
The Marketing Cloud Verification Activity only evaluates the "record count" of a Data Extension (DE). It cannot directly evaluate specific "field values" as a condition (e.g., stopping the automation if IsUpdatedThisMonth does not equal True).
To meet this requirement, the best practice is to verify "the count of records resulting from a data extraction based on the condition." Follow the steps below to configure this workaround.
First, create a temporary Data Extension (referred to as the Helper DE) to store only the records that meet your specific criteria, and create an SQL Query Activity to extract the data.
Create the Helper DE: Create a simple Standard Data Extension containing only the necessary primary keys (e.g., Name it Check_IsUpdated).
Create the SQL Query Activity: Create a query to extract only the records matching the condition (IsUpdatedThisMonth = 'True'). Refer to the sample code below:
SELECT
SubscriberKey
FROM
[Original_Data_Extension_Name]
WHERE
IsUpdatedThisMonth = 'True'
/* Adjust the value (e.g., 1 for Boolean, 'True' for Text) based on your data type */
Configure Data Action: Select [Overwrite] for the Data Action on the Helper DE and save.
Set up a Verification Activity to evaluate the record count in the staging DE created in Step 1.
Create a new [Verification] activity in Automation Studio.
Select the "Helper DE (Check_IsUpdated)" created in Step 1 as the target.
Configure the conditions as follows:
Condition: [Count], [Is Equal To], 0
This detects if there are 0 records meeting the condition (meaning the required data does not exist).
Configure the action as follows:
Action: [Stop Automation]
Notification: Enter an email address to receive a notification when the automation stops, if necessary.
In the Workflow tab of Automation Studio, arrange the activities in the following order:
Step 1: The "SQL Query Activity" created in Procedure 1.
Extracts data matching the condition into the Helper DE.
Step 2: The "Verification Activity" created in Procedure 2.
If the Helper DE has 0 records, the automation stops here.
Step 3 and beyond: Email Send Activities, etc.
These run only if the verification passes (i.e., there is at least 1 record meeting the condition).
This configuration ensures that subsequent processes are safely stopped if records with specific values do not exist.
005232930

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.