Categories
#Global parameters

Global parameters

DCR Portal 7.5.0 brings a powerful new feature: global parameters. When designing business processes with DCR graphs, you often encounter the need to manage different values across various environments, such as separate test and production systems.

Global parameters allow you to define global constants that adapt to different environments. This eliminates the need to create multiple, near-identical graphs to accommodate varying values, streamlining your design process and ensuring consistent behavior across your systems.

Administrators can manage global parameter from the administration page under Parameters.

Using global parameters

Let's say you're looking to initiate a new case activity in KMD WorkZone. The StartProcess effect, which handles this, takes a GUID as a parameter. It's important to note that WorkZone generates a new, unique GUID for every process. This means that even if you're using the same DCR graph, its corresponding GUID in WorkZone will be different each time a process is started.

Instead of entering the guid you enter a global parameter as illustrated below:

Export with global parameters

In order to replace values on export of global parameters you must check the checkbox Replace parameters on export.

When you click to export the graph you notice that the export menu now contains three sub menus, Test, Staging and Prod:

Once the graph is exported you will notice that the global parameter $(ProcessGuid1) have been replaced with the value in the DCR XML of the graph:

Related Release notes

Release 7.6.7

  • Global parameters - more environments
  • Graph revision comments shown in DCR Publisher

Related Videos

No related videos found.

Related Examples

No related examples found.

Related Articles

No related articles found.