Also here's the basic code used to start the process instance:
new JPAWorkingMemoryDbLogger( ksession );
KnowledgeRuntimeLoggerFactory.newConsoleLogger( ksession );
CommandBasedWSHumanTaskHandler wsHumanTaskHandler = new CommandBasedWSHumanTaskHandler( ksession );
String name = "ksclient-" + UUID.randomUUID();
TaskClient client = new TaskClient( new MinaTaskClientConnector( name, new MinaTaskClientHandler( SystemEventListenerFactory.getSystemEventListener())));
client.connect( "127.0.0.1", 9123 );
ksession.getWorkItemManager().registerWorkItemHandler( "Human Task", wsHumanTaskHandler );
Map<String, Object> valueMap = getArrayListMap( properties ); // local method to format the valueMap from an input parameter list.
ProcessInstance processInstance = ksession.startProcess( processDefinitionId, valueMap );
I don't see a way to include the user kicking off the process so maybe that's why the TASKINITIATOR_ID column is null.
Also, the CommandBasedWSHumanTaskHandler is deprecated. Does anyone know what other class should be used?
Thanks,
Jim