Variable Settings Options Available In SharePoint 2013 Workflow
Variables refer to values that exist in workflow for the time it is running.
Consider for example, if there is a new list item created using a workflow, then that item’s ID is returned to the workflow automatically as a variable. You can make use of this ID later in the workflow whenever you want the data to be obtained from a list or needs to be sent to other list.
As soon as the workflow gets finished, this variable doesn’t exist anymore. Following two options are available under variables –
Initiation form parameters :-
Whenever a workflow gets initiated manually, the initiation form parameters include fields that will be used by the users when they initiate the workflow. Collection of association parameters is done whenever any reusable workflow gets attached to a SharePoint list.
For every parameter being added on this screen, you need to do following –
- Choose field type
- Check whether the same needs to be collected during initiation, association, or during both.
Local variables :-
This is a complete list of variables existing in the workflow. Each workflow variable has a type like –
Hopefully, you get to understand the options available under Workflow variables through this tutorial better. To learn more on SharePoint, browse through our other tutorials.