AnsweredAssumed Answered

how to associate userid with the process instance.

Question asked by hamepal on Nov 4, 2011
Hi all,
   Currently I am trying to run the workflow using Activiti api. But when I retrieve the running instance list then it doesn't have the userID associated with the running instance.
  I have used the following API to start the instance.

ProcessEngines.getProcessEngine(configuredProcessEngineName).getRuntimeService().startProcessInstanceById(processDefinitionId)

  Here I don't find any parameter where I can assign the userid.

  Can anyone please suggest me how to associate the user ID with the running instance? Please tell me how activiti is associating the process-instance with userid.
 
  Any pointer will be greatly appreciated. :)

Outcomes