Here we will discuss how we can resolve a visual studio 2015 workflow issue. In one of our requirement, we were trying to develop a workflow for SharePoint online using visual studio 2015. For that workflow, we have created few variables which we wanted to use in the various scope of the workflow. Then we have tried to use the workflow variable in one scope, but when we try to access the variable we could not able to get the variable. The variable was not available.
In the workflow, we can create various sequences which will execute various activities in sequence inside the workflow. While declaring a variable we need to define the scope for the variable, on which sequence it will be available.
In the below example, we have defined one variable as varOwnerEmail and we need to define the scope like below. Then the variable will be available in the particular scope.
Hope this will be helpful.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)