AnsweredAssumed Answered

How to start a process via Rest API using java code?

Question asked by magda on Jan 4, 2015
Latest reply on Jan 12, 2015 by martin.grofcik
Hi,

I am new in Activiti.  I use Activiti 5.17.0. I have a problem with starting process using java code.
I have created an activiti diagram (process.bpmn20.xml) with start forms created in Activiti plugin eclipse.
I attach my bpmn diagram with forms.

My process definition is visible in Activiti Explorer->Processes->Deployed process definitions …
I can start instance of process using REST but i must use java code in eclipse.

I have to start process with values in forms.
Optionally can be another solution without Rest Api.

I tried to do it like this:   http://docs.alfresco.com/activiti/topics/api.services.start.processinstance.html but unfortunately my process didn't start:(

Please forgive me my poor knowledge about Activiti… I'm newbie.


Please help,
Magda

Outcomes