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)