I am first time creating Workflow in visual studio for SharePoint 2010. Now i need to create variable (Workflow variable) in my workflow but i am not getting any reference or tutorials for create variable in workflow.

Can anyone please give any reference of how to create variable in workflow.



Check How to: Create SharePoint 2013 Workflows using Visual Studio on how to create variables and arguments on activity-level:

5. Output pane displays information about workflow activity elements – variables, arguments, and import.


General concept of variables and arguments in WWF (not SharePoint-specific) is documented here.

Accepted answer in https://stackoverflow.com/questions/13236889/sharepoint-workflow-global-variables-in-c-sharp-workflow-project might be useful to decide your tactics of storing 'global' variables.

  • Thanks for your answer. but i am using SharePoint workflow 2010 not 2013. Is there any action in SP2010 workflow? – Kaushal Khamar Mar 14 '16 at 4:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.