Process definition is not persisted in standalone jBPM3
Issue
I'm using the following code trying to deploy the process definition in a par file
fileInputStream = new FileInputStream(resourceLocation);
ZipInputStream zipIpInputStream = new ZipInputStream(fileInputStream);
ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipIpInputStream);
jbpmContext.deployProcessDefinition(processDefinition);
right after calling above, I can see the new process definition by calling the following
List<ProcessDefinition> lst = jbpmContext.getGraphSession().findAllProcessDefinitions();
However, I could not see it in either database jbpm table or EAP jbpm console.
Environment
- JBoss Enterprise SOA Platform
- 5.2.0
- jBPM3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
