Description

The ConstantGen Generator generates a constant, non-changing value. Here are a few ways you can use it to generate constant values:

  • String (e.g., country = "USA", currency = "USD", or status = "pending")
  • Number (e.g., branch id = 1005 or tax rate = 0.07)
  • Boolean (e.g., set a flag to 'true' such as enabled or active)
  • Date (e.g., "2025-01-01" for effective date, start date, etc.)


In This Article


Generator Parameters

The following parameters may be configured for the ConstantGen Generator. Items with an asterisk* are required. 

  • value* – Specifies the constant value. Variables like ${variable} or #{EMPTY} are allowed.


Example 1 - Generate Blank Values for an Attribute

Enter #{BLANK} for the value parameter. 



Example 2 - Generate an Empty String for an Attribute

Enter #{EMPTY} for the value parameter. 




Example 3 - Generate 'Test' Generated for each Record

This example uses the text "constant value" for the value Parameter, as shown below: 



Sample Output

As shown below, 'Test' is generated for each record in the sample output.