How to manage a Send Email Test Run Using a Global Variable?

Modified on Fri, 30 Aug at 3:25 PM

FIRST CREATED ON 14 Mar 2024  I  AUTHOR Emma Camacho


To ensure email tests are managed properly and avoid sending emails to unintended recipients, use a Global Variable to control test runs. This allows you to easily toggle between test and live modes. Here’s a quick guide on how to set it up:


(1) Create a Global Variable 

Name: vTestMode




(2) Open the Send E-Mail Action -> Create Recipients Reference



(3) Expand the Expression window



(4) Test the Global Variable with an if( ) statement to send the email to a dummy email or to a real recipient






Looking for Additional Guidance?


If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article