Environmental variables when exporting or importin
Comments
-
Hello Support,
Is there a recommended way to manage environment variables when using either the Export/Import feature or Repository Server, such that certain configurations can be dynamically handled as configuration is shifted from one environment to the next?
To illustrate this, the below is a basic example of what I am trying to work through, where there is a flow that references a REST API. The flow, when in the development environment, should reference the development instance of the API. However, when the configuration is pushed into the UAT environment, it needs to point to the UAT instance of the API, and the same behaviour again when pushed into Production.
-
Hello,
This can be accomplished by using system constants. Here is a link to documentation that goes over how to set these up in Decisions:
[url=https://documentation.decisions.com/docs/establishing-constant-data-global-variables]https://documentation.decisions.com/docs/establishing-constant-data-global-variables[/url] You can parameterize the host of the REST service integration and this will give you an input to this REST step called "hostName". You can then create a system constant for hostname and use it as the input for this. Then you can set the value of this system constant to be distinct on each of the three servers and safely promote your flows between your different environments as Decisions does not over write system constants on import.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 698 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions