Skip to main content

Creating Environment-Specific Project Variables in TimeXtender Classic

  • December 24, 2024
  • 0 replies
  • 6 views

Forum|alt.badge.img+1

How to create an Environment Specific Project Variable in TimeXtender Classic

TimeXtender Classic supports multiple environments, aligning with CI/CD and Agile development practices. Environment-specific project variables enable developers to apply business logic selectively across different environments.

System Project Variables Overview

System Project Variables allow the use of system names as variables to be used within:

  • SQL code
  • Execution Packages
  • Project Perspectives

Available system project variables include:

  • Machine Name
  • Environment Name
  • User Name
  • User Domain Name

Prerequisites

Before creating environment-specific project variables, ensure you have at least one environment configured in TimeXtender Classic. To learn more about environments and get help in setting them up, please see Configure Multiple Environments or contact your TimeXtender Partner or Solution Specialist.

How to create an Environment Specific project variable

  1. In TimeXtender, select Project Variables under the Tools menu in the toolbar.
  2. Select Add to create the new project variable.
  3. Provide a Name for your new project variable.
  4. Select System in the Type drop-down.
  5. Select Environment Name in the Value drop-down menu.
  6. Click OK.

mceclip0.png

How use an Environment Specific project variable with an Execution Package

  1. To begin, open the Execution object in the Solution Explorer by double clicking on it.
  2. Right-click the execution package that will use the project variable and select Add Usage Condition. The right side of your screen will show Project Variables, including the one you've just created.
  3.  Select your Environment Specific project variable from the list.
  4. The defaults for Operator and Comparer that perform an equals comparison can be used in this scenario. Complete the usage condition by entering the exact name of the Environment in the Value field.
  5. Click Add.

mceclip1.png

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings