Can anyone suggest whether there is any possibility how to trigger a SP2013 WorkFlow using REST API & Jquery ?
4 Answers
Yes there is, see for a detail example Start workflow using rest call
-
3Please don’t add just a link as answer to a question. If the link breaks, the answer you provided will not be useful for future visitors. Provide an answer of your own and use the link as reference. If needed, you can block quote the content from your link. More information is found in our help center, especially How do I write a good answer2015-09-14 13:12:51 +00:00Commented Sep 14, 2015 at 13:12
-
1This does not answer the question. Your link provides a way to make a REST call within a workflow which is the opposite of what the user asked for.Dinerdo– Dinerdo2016-06-16 23:38:41 +00:00Commented Jun 16, 2016 at 23:38
-
It may not be what original poster was asking, but this exactly what I needed. But I hope there were any updates on this. This article seems to be old. Anyway, thank you @Marc!Aamir– Aamir2016-06-17 23:34:55 +00:00Commented Jun 17, 2016 at 23:34
-
why just a link? No effort... this is not a MS site!Marpio– Marpio2017-12-14 10:06:50 +00:00Commented Dec 14, 2017 at 10:06
I would suggest the best way would be to have a workflow that waits for a field to = x then you use the api to update an item and set the field to x.
I have shared how you could start a workflow in sharepoint online on office 365 by calling the REST API at _vti_bin/client.svc/ProcessQuery, basically you will need to do HTTP Post at the end point twice, one to get the workflow subscription and the other to trigger the workflow instance to start, find it here https://community.nintex.com/community/tech-blog/blog/2017/01/18/stronger-together-nintex-workflow-cloud-office-365
No, there are no coverage for workflow or taxonomy in SP REST API.
But you can use CSOM: Start SharePoint 2013 Workflows with JavaScript Client Object Model