I would like to use rest api to trigger my manual workflows from a list. Would like users to select some various items and click a button and then trigger the workflow on each items

I have this url below


But I don't get to see the subscriptionId parameter. Is it the same as the TemplateID?

The REST api I am using is as follows:


Thanks in Advance

  • Using workflow 2010 or 2013? 2010 has an templateID (changes everytime you publish). 2013 has subscriptionID – Peter Deleu May 27 '19 at 9:35
  • Thanks Peter about SP Online? – naijacoder May 28 '19 at 0:11
  • Did you create the workflow with SharePoint Designer? – Peter Deleu May 28 '19 at 6:42
  • check the link that you get when you want to start the workflow – Peter Deleu May 28 '19 at 6:44
  • Thanks Peter. I taught you were referring to SP versions..Yes i was using 2010 workflows but when i created 2013 workflows i could now see the subscriptionids. Is there a way to achieve the same when using SP 2010 workflows? – naijacoder May 29 '19 at 0:14

You could go to list settings-> workflow settings, click the workflow. You would see the workflow subscriptionId in the URL.

| improve this answer | |
  • Hi Michael, Does this work for SP online? – naijacoder May 27 '19 at 23:37
  • Hi Michael, When i do this - You could go to list settings-> workflow settings, click the workflow. This wants to open the workflow in SP Designer.. Not sure where you are seeing the subscriptionid here.. – naijacoder May 28 '19 at 0:11
  • As Peter mentioned the subscriptionid is only available in SP 2013 workflows – naijacoder May 29 '19 at 0:15
  • Yes, subscriptionid is only in workflow 2013. The rest api would not work for workflow 2010. – Michael Han_MSFT May 29 '19 at 1:04

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.