set-config Action
Last updated
Was this helpful?
Last updated
Was this helpful?
The set-config
action is used to override settings of the current at runtime.
The action expects configuration elements as child nodes. It has no attributes.
Example:
If the enable
attribute is not explicitly defined for a setting, enable="true"
is assumed. Therefore, the following examples are equivalent:
📎 Be aware that the config settings are evaluated at different points of time. Some settings, such as
security/force-client-https
are evaluated before the flow starts. Others, such asforce-backend-https
affect requests that may run at any time in the flow. Changing those settings withset-config
after they are used, will have no effect. However, most options are used after the flow.
The given configuration elements are merged with the existing settings in . If a config element is already set, their attributes are merged. Otherwise, the element is copied into the configuration.
Although the forbids the redeclaration of settings, you may override the same setting with set-config
actions multiple times.