-
1. Re: pass actorids from processtest.java
melc May 10, 2011 6:13 AM (in response to kathy89)Did you specify the variables hr and pm in the bpmn for the process scope as shown on the pic above (for variables map, modelNumber, quantity etc) ?
(found in http://community.jboss.org/people/bpmn2user/blog/2011/02/21/jbpm5-example-for-forms-with-variables)
-
2. Re: pass actorids from processtest.java
kathy89 May 10, 2011 10:07 AM (in response to melc)hi chris,
no.i have not added the variables like that and i dont have a property called "variables" .i've attached the snapshots for properties of tasks, "employee evaluation" and "hr evaluation".all that i hav changed in the .bpmn file is the actorid from mary to #{hr} and i hav added the line params.put("hr","mary"); in the file ProcessTest.java.
... and i dont have any of the files seen in the snapshot namely,
ProcessOrder.ftl, SampleHumanTaskFormV, com.sample.bpmn.samp, SampleApprovalTask.ftl etc
-
3. Re: pass actorids from processtest.java
kathy89 May 10, 2011 10:11 AM (in response to melc)hello chris,
i tried adding the variables in the properties field and it works fine.
thanks a lot.