How to Start activiti workflow using rest api?

北城以北 提交于 2020-01-17 18:01:31

问题


I create an activiti workflow. I want to start workflow using rest api. Please give some solution for the same. Thanks in advance


回答1:


Take a look at the Activiti REST-API Reference: http://www.activiti.org/userguide/#_start_a_process_instance

If you want to start a process instance, you can use POST runtime/process-instances




回答2:


this is the the link start a workflow through rest-api:P http://localhost:8080/activiti-rest/service/runtime/process-instances

and pass your query with this link like this...... {"processDefinitionKey":"your workflow id","variables":[{"value":"your form data value","name":"form data id"}]}



来源:https://stackoverflow.com/questions/33343016/how-to-start-activiti-workflow-using-rest-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!