JBoss Community

Re: How to Save jBPM 5.1 Process Definition Created via API?

created by Estelle Guallar in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community