8

Can anyone suggest whether there is any possibility how to trigger a SP2013 WorkFlow using REST API & Jquery ?

4

Yes there is, see for a detail example Start workflow using rest call

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 3
    Please 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 answer – Benny Skogberg Sep 14 '15 at 13:12
  • 1
    This 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 Jun 16 '16 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 Jun 17 '16 at 23:34
  • why just a link? No effort... this is not a MS site! – Marpio Dec 14 '17 at 10:06
0

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.

0

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

-1

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

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.