Hello everyone! i don't know how to solve a problem. I need to create an instance of a process deployed previously this way:
JbpmConfiguration jbpmConf = jbpm.getJbpmConfiguration();
ProcessDefinition pd = jbpm.getProcessDefinitionFromXml(file);
workflow.setName(pd.getName());
jbpmContext = jbpmConf.createJbpmContext();
try {
jbpmContext.deployProcessDefinition(pd);
} finally {
jbpmContext.close();
}
@CreateProcess(definition="#{workflow.name}")
public void done(){}
Putting that in a sentence:
How can I instantiate a process deployed via org.jboss.seam.core.Jbpm?
Thanks! :)