This content has been marked as final.
Show 2 replies
-
1. Re: Swimlane in start
cormierjf Jul 31, 2006 1:25 PM (in response to dlipski)I think the warning about the swimlane is normal.
"Starting" a process instance is different if there is a task in the start node. I do not know exactly why.
I think you need something like this to start the processInstance:if (processDef.getTaskMgmtDefinition().getStartTask() != null) { TaskInstance startTask = processInstance.getTaskMgmtInstance().createStartTaskInstance(); } else { processInstance.signal(); }
I use this code with Jbpm 3.1.1, it may be different for 3.2.
JF -
2. Re: Swimlane in start
kukeltje Jul 31, 2006 3:05 PM (in response to dlipski)afaik it should be called INITIATOR