I have a SharePoint 2013 workflow developed in Visual Studio 2012. How can I retrieve the current site url to a local variable?


Fount the solution.. We have to use the 'LookupWorkflowContextProperty' activity. Example show below:

enter image description here

currentSiteUrl is a local variable.

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.