1

I have created a workflow which does a lot of REST calls. The workflow works perfectly and I have several other sites/lists were I will need the same workflow. Therefore I would like to save the workflow as a template, and then upload and activate it in another site/list. The only problem is that all the REST calls fx. go:

https://tenant.sharepoint.com/sites/sitename/_api/web/Lists/GetbyTitle(‘ListName’)/items?Select=Titel  

Meaning that the "https://tenant.sharepoint.com/sites/sitename/" part is specific to one site, which is a problem when I implement it to different sites.

Is it possible to do a lookup for that part, or type the URL in a different way?

3

USe the workflow context variable "Current Site URL" when building the REST url as below Workflow Context: Current Site Url Built URL

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.