Wowww !!!
It works !!!
You will not beliave !!!
See previeous code :
|
| ProcessDefinition pd =
getJbpmSession().getGraphSession().findLatestProcessDefinition(name);
| ProcessInstance pi = new ProcessInstance(pd);
| if(variables!=null){
| pi.getContextInstance().addVariables(variables);
| }
| pi.signal();
| return new Long(pi.getId());
|
See the newer code :
| GraphSession session =
getJbpmSession().getGraphSession();
| ProcessDefinition pd =
session.findLatestProcessDefinition(name);
| ProcessInstance pi = new ProcessInstance(pd);
| if(variables!=null){
| pi.getContextInstance().addVariables(variables);
| }
| pi.signal();
| session.saveProcessInstance( pi );
| return new Long(pi.getId());
|
I haven't save the process instance, but everything was working in other
process, less the log!!
i dont believe in this !!! its making me crazy !!!!
i will do more tests
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913113#3913113
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913113
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user