Use "Assign" to Create Workflow Variables

You can use the "Assign" element of the Workflow editor to create new variables, and assign values, or contents, to those variables to use within a specific workflow activity. Most often, "Assign" elements are used in conjunction with "If" conditional statements to evaluate patient data and assign an appropriate value according to the results of the evaluation.

Temporary Variable - The variable you create with the Assign element keeps its value only within this workflow.

Click to OpenAdd the Assign Element to a Workflow

Drag the "Assign" element from the Common Activities list to your Workflow Activities list.

Click to OpenCreate Your New Variable

Choose the variable type to work with. Then type a name for your variable, and enter the value, or contents, to assign to it. The value format depends upon the variable type you have chosen to work with. Tell me more about variable types,,,

Click to OpenArrange Workflow Activities

Most often, "Assign" variables are used in conjunction with conditional "if" elements to evaluate patient data and assign an appropriate value according to the results of the evaluation. Once you have created your Assign variable, you often will need to drag and drop it into the appropriate location in the Workflow Activities list to be sure the appropriate activities will be completed, according to whether or not the conditional element has been satisfied. See "Workflow Conditional "If" Elements" for details.

Click to OpenSave Changes

Click Save in your Quick Access toolbar or File ribbon bar (or press Ctrl+S on your keyboard) to save any changes you have made.