String Table
String Tables are used to store string variables that are referenced by workflows for runtime replacement of values, depending on the environment in which the workflow is executing. When a workflow executes at runtime and references one of these placeholders, the workflow checks the string table to find the value for the placeholder and replaces the "placeholder" with the string value for that string table entry.
String Table entries are automatically updated whenever a K2 workflow is deployed, using the field values specified in the targeted Environment Library. To avoid confusion and conflicting changes, we recommend that you define and maintain any variables/placeholders in the Environment Library, and rely on the workflow deployment mechanism to keep the String Tables updated. It is not recommended to add or edit values in the String Table, unless it is done for backward compatibility with older workflows that do not rely on Environment Fields.
Field | Description |
---|---|
Edit | Edit an existing String Table entry. |
Refresh | Refresh the list of String Table entries. |
Edit a String Table Entry
Follow these steps to edit a String Table Entry.
- Select an environment, then select a string table item, and click Edit.
- The Edit screen opens.
- Edit the entry as needed.
- Click OK to apply the change. The next time a workflow looks up the value of the modified string table entry, it will use the updated value.
Updating a string table entry does not "retroactively" update any existing workflows that may already have looked up the string table value. The change will only apply for workflows that look up a string table value from this point in time, forward.
Refresh a String Table Entry
Follow these steps to refresh the list of string table values.
- Select and entry from the list and click Refresh.
- The entry is refreshed.