ProcessMaker has default Environment Variables. Do not create your own Environment Variables for the following:
ProcessMaker Environment Variable
Domain for the ProcessMaker instance.
ProcessMaker instance API to which to make all our RESTful API calls.
Token a Script uses to authenticate to the our API host. Note that this API token is only valid for the lifetime of the Script: after the Script runs and the Script Executor's Docker container from which that Script ran, its API token is no longer valid.
Follow these steps to create a new Environment Variable:
View your Environment Variables. The Environment Variables page displays.
Click the +Environment Variable button. The Create Environment Variable page displays.
In the Name setting, enter the unique name for the Environment Variable. The Environment Variable name can only contain letters, numbers, and hyphens (
-). This is a required setting.
In the Description setting, enter a description for the Environment Variable. This is a required setting.
Optionally, in the Value setting, enter the value for the Environment Variable. Entering a value is optional since Environment Variables are secure, abstract proxies for sensitive information you assign to contain a value that can be determined during an in-progress Request.
Click Save. The screen closes and the following message displays: The environment variable was created. The Environment Variables page displays with your new Environment Variable.