[jboss-user] [jBPM] - Re: How to Save jBPM 5.1 Process Definition Created via API?
Estelle Guallar
do-not-reply at jboss.com
Mon Dec 5 04:59:23 EST 2011
Estelle Guallar [http://community.jboss.org/people/jbpm2011] created the discussion
"Re: How to Save jBPM 5.1 Process Definition Created via API?"
To view the discussion, visit: http://community.jboss.org/message/639796#639796
--------------------------------------------------------------
Hi,
I have a problem of casting processdefinition to workflowprocess
System.out.println(XmlBPMNProcessDumper.INSTANCE.dump(*(WorkflowProcess)* processDefinition, XmlBPMNProcessDumper.NO_META_DATA));
this is the erreur
Exception in thread "main" java.lang.ClassCastException: org.jbpm.context.def.ContextDefinition cannot be cast to org.drools.process.core.Context
at com.test.ProcessMain.main
can you help me please?
thank you
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/639796#639796]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111205/d292f427/attachment-0001.html
More information about the jboss-user
mailing list