The Save Variable component is used to store information in memory that can be referenced and manipulated at any time while the workitem is in the workflow.
Name: The name assigned to this component.
Description Enter a description for the component.
Condition Type: If the condition returns true, then the Action will be performed. If condition returns false, then the Action will not be performed. If there is no condition specified, the Action will always be performed.
Expression: Any value that the workflow will store in memory. This value can be text, numbers or a formula.
Variable Name: The name of the variable where the expression will be stored.
*Note: All variables that are created with the Save Variable component are stored in memory in the form of: workitem.data.Variable Name
In the following example the name defined in Variable Name will be: menuCounter
When comparing in a condition or manipulating within another Save Variable the memory variable, workitem.data.menuCounter, will be used.
A sample of a condition could be:
If the system should only set this variable if the caller pressed ‘1’ in a menu, the Condition Type would be as follow:
Expression: workitem.digits == ‘1’
Here is a sample of how to use the Save Variable component:
If you would like to create a counter to increment every time a menu replays:
In the Begin State add a Save Variable component.
In the State where the menu plays add Save Variable and configure as follows:
Each time the menu replays, the value in the memory variable workitem.menuCounter will increase by 1.
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.