AnsweredAssumed Answered

HistoricProcessInstance.getStartUserId() return null

Question asked by limcheekin on Apr 19, 2011
Latest reply on Apr 22, 2011 by limcheekin
Hi there,

When I call historyService.createHistoricProcessInstanceQuery().list() the process instance 'getStartUserId()' for each resulting instance always returns a null.

I re-post the statement here which originated from Grails Activiti Plugin user, Ned.

I know the reason why it return null, this is because the plugin didn't pass in the user id when starting the process instance. By the way, when I refer to the API doc at http://activiti.org/javadocs/org/activiti/engine/RuntimeService.html, I don't see is there a way to pass in user id in startProcessInstanceById() or startProcessInstanceByKey().

Am I overlook something? Please advice.

Best regards,
Chee Kin

Outcomes