➕ Set Environment
Set local environment variables for the current form execution context. Configure dynamic values that can be accessed by other fields and segments during automation.
📋 Field Options
| Field Options | Required | Description | Example Values |
|---|---|---|---|
| Environment Variables | Yes | JSON configuration for global environment | |
⚙️ Configuration
🌐 Environment Variables
Purpose: Define local variables that can be accessed by other fields and segments during form execution.
How to Configure:
- Set Environment (JSON Format) in field default value option
- Use valid JSON syntax for configuration
- Define key-value pairs for variables
- Test the configuration to ensure it works
JSON Format:
json
{
"name": "John Doe", // You can use any variable name
"email": "[email protected]"
}How to Use:
- Use variable syntax
{$variable_name$}in the environment variables. Like this:
json
{$name$}json
{$email$}🌐 Global Environment
You can also set global environment variables in the extension settings. Environment Settings
⚠️ Important Notes
- JSON syntax must be valid - use proper quotes and commas
- Variables are local - accessible by only the current form
- Set early in execution - place this field before others that need the variables
- Case sensitive - variable names are case sensitive
Pro Tip
Use environment variables to create reusable configurations that can be easily modified without changing individual field settings.
Important
Ensure JSON syntax is valid. Invalid JSON will cause the field to fail and may break form execution.