Workflow constants

Workflow constants are workflow references that are available to all workflows within a given workflow scope, such as a SharePoint farm, site collection, or site. For more information about workflow scope, see Workflow scope and context. Workflow constants are typically used to store information that can be used by multiple workflows, such as credentials, URLs, connection strings, and so on.

Accessing workflow constants

Workflow constants can be accessed only by users with the appropriate permissions, depending on the definition of the workflow constant. Access to a workflow constant can be restricted to the following levels:

Sensitive workflow constants

String, numeric, and date workflow constants can be marked as sensitive workflow constants. Sensitive workflow constants are encrypted, and the contents are not available to the user. The user can include references to them in configuration settings for workflow actions, but only if the control for that configuration setting allows inclusion of sensitive workflow constants.

To support the use of sensitive constants in custom workflow actions, ensure that the appropriate controls included on the configuration page can include sensitive workflow constants:

Workflow references for sensitive workflow constants are decrypted when the workflow references are resolved. For more information about resolving workflow references, see Workflow references.

Secure strings

Secure string workflow constants are similar to sensitive workflow constants, in that the value is encrypted and the contents are not available to the user. The user can include references to them in configuration settings for workflow actions, but only if the control for that configuration setting allows inclusion of secure string workflow constants.

This type of workflow constant is typically used to store security tokens for external features and services, such as Nintex Live actions.

To support the use of secure string workflow constants in custom workflow actions, ensure that the appropriate controls included on the configuration page can include secure string workflow constants:

Workflow references for secure string workflow constants are decrypted when the workflow references are resolved.

Credentials

Depending on the configuration of the SharePoint farm on which the workflow resides, Nintex Workflow 2013 can provide encrypted credentials as workflow constants.

Nintex Workflow 2013 supports two types of credentials as workflow constants: