-2

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

Seema
  • 21
  • 1
  • 11

2 Answers2

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

Ben
  • 1,579
  • 4
  • 20
  • 34
  • For me, this rest call always shows the 6 processes and not any other process. Even though I can run my workflow in standalone activiti UI. Any idea what is the problem – shv22 Oct 10 '19 at 14:19
0

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"}]}

Saurabh Verma
  • 79
  • 1
  • 5
  • For me, this rest call always shows the 6 processes and not any other process. Even though I can run my workflow in standalone activiti UI. Any idea what is the problem – shv22 Oct 10 '19 at 14:19