Configurations
Reads and writes Site Configuration values for the active Site and Environment of a Workflow.
Revision History
0.0.0.1 - Initial release.
0.0.0.2 - Added multi-value retrieval and Site Configuration templates.
Setup Notes
You can add this Node to a Workflow without configuring a Connection, authentication, or external access. The Node runs on Flowgear Cloud and Local Clusters.
Each Site Configuration is scoped to the Site and Environment of the current Workflow activation. Configuration keys are case-sensitive and cannot contain /, \, #, ?, commas, tabs, carriage returns, or line breaks.
Stored strings are limited to 32,768 characters. Binary values are limited to 65,536 bytes.
Methods
This Node provides methods for retrieving several Site Configuration values at once and for creating or updating one value.
Get
Retrieves the Site Configuration keys declared as returns on the Step. Select one of these templates to define the return surface:
No Site Configurationsstarts with no returns so you can add exact keys manually.All Site Configurationsadds one object return for every Site Configuration in the active Environment. The return names are sorted in ordinal order, and the template does not include the stored values.
This method has no Workflow parameters.
| Return | Type | Description |
|---|---|---|
{Site Configuration key} |
Object | The value stored under the exact Site Configuration key. |
Set
Creates a Site Configuration or replaces the value of an existing key in the active Site and Environment.
| Parameter | Type | Description |
|---|---|---|
Key |
String | The case-sensitive Site Configuration key to create or update. |
Value |
Object | The value to store. This value can be null. |
This method does not return a value.
Usage Notes
- Keys are matched exactly.
Caseandcaseidentify different Site Configurations. Getreturns null for both a missing Site Configuration and a Site Configuration whose stored value is null.Getreturns stored values unchanged. The return type configured on the Step does not convert the value.- Dots remain part of the exact key. Use a quoted reference to access a dotted return in a later Step, e.g.
{getConfiguration."apple.banana"}. - Workflow execution can read and write Site Configurations in its active Site and Environment. Site Configuration permissions used for management outside Workflows do not filter the available templates or these methods.