AnsweredAssumed Answered

start a processInstance with a certain user

Question asked by pamasoft on Jan 17, 2014
Latest reply on Jan 20, 2014 by martin.grofcik
I want to start a process instance with the Java API method 'startProcessInstanceById(String processDefinitionId)'in the RuntimeService interface and I want  the 'starter' to be set to a certain userId.
Just calling the method directly gives the 'starter' user set to 'anonymous'.

Any ideas?

I am using Activiti - Engine 5.14 API
(Java 1.7, Ubuntu 12.04)

Outcomes