Get current web url in Nintex Workflow

16/10/2015 12:27

Sometimes we need to build different strings based on current web url. One of the way how to get it is by using Regular Expression action - we replace part of item url (in example there is an item in Document library) with empty string and store it in variable currentWebUrl.


In case of worflow on library, use regular expression '/YourLibraryUrl/.*$'

In case of workflow on the List, use regular expression '/Lists/yourListUrl/DispForm.aspx.*$'