I need to assign variable on a certain step in Sharepoint 2013 Visual Studio Workflow. I've created it on variables tab. How can I set it with a following value?

"simple text" + OtherVariable + "simple text"

Maybe you are looking for Assign box?enter image description here


First Create a variable SiteUrl of type String. Then using the Properties window set PropertyName = "Current Site URL" and Output Result to variable SiteUrl.

Now you can use Assign and Set "Final String" = "Simple Text" + SiteUrl + "Simple Text"

  • Sorry Amal, but SiteUrl was just a random variable. I need to set variable value based on other variable value. – Chetvergov Jan 28 '15 at 13:50

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.