Julio Faerman [http://community.jboss.org/people/jmfaerman] created the discussion
"Re: Help with examples" To view the discussion, visit: http://community.jboss.org/message/592162#592162 -------------------------------------------------------------- Yes, that did it :) {code:xml} <scriptTask id="_2" name="Hello" > <script> System.out.println("### Starting Greetings process ###"); org.drools.runtime.process.WorkflowProcessInstance process = (org.drools.runtime.process.WorkflowProcessInstance)kcontext.getProcessInstance(); kcontext.getKnowledgeRuntime().insert(process); System.out.println("### Inserted process instance ###"); </script> </scriptTask> {code} But it is stil a bit of a hack... it would be nice to be able to "prepare" the process before starting it or even having the process instance inserted automatically. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/592162#592162] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
