From the course: SharePoint Designer 2013: Custom Workflows

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Understanding workflow variables

Understanding workflow variables - SharePoint Tutorial

From the course: SharePoint Designer 2013: Custom Workflows

Start my 1-month free trial

Understanding workflow variables

One of the core actions is an action that is called Set Workflow Variable. So, let's understand what a workflow variable is so we'll know when we might want to set it. Workflow variables are used to create memory spaces that you can use to hold a value that you will want to use later in the workflow. For example, we might ask our user to provide some information and we need to store that somewhere. We'll create a workflow variable to store it in. Another possibility is that we want to create a calculation somewhere to be able to calculate a particular point in time, a number of days, a cost. Anything we calculate that we want to use either has to immediately be placed into a column, or stored in a workflow variable. There are a couple of different ways to create workflow variables. One of them is using the set workflow variable command. And when you do that, you'll actually go into the workflow, and you will click Local Variables. And add a container for our variable, right here, so…

Contents