[JBoss JIRA] Created: (JBPM-1259) Basic node sequence
by Thomas Diesler (JIRA)
Basic node sequence
-------------------
Key: JBPM-1259
URL: http://jira.jboss.com/jira/browse/JBPM-1259
Project: JBoss jBPM
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jBPM jPDL 3.2.4
String jpdl =
"<process-definition>" +
" <start-state>" +
" <transition to='stateA' />" +
" </start-state>" +
" <state name='stateA'>" +
" <transition to='end' />" +
" </state>" +
" <end-state name='end' />" +
"</process-definition>";
public void testBasicSequence() throws Exception {
// Locate the ProcessEngine
ProcessEngine engine = ProcessEngineLocator.locateProcessEngine();
// Create a ProcessDefinition through the ProcessDefinitionManager
ProcessDefinitionManager pdm = engine.getProcessDefinitionManager();
ProcessDefinition pd = pdm.createProcessDefinition(jpdl);
// Create a ProcessInstance through the ProcessInstanceManager
ProcessInstanceManager pim = engine.getProcessInstanceManager();
ProcessInstance pi = pim.createProcessInstance(pd);
// Create an Execution through the ExecutionManager
ExecutionManager pem = engine.getExecutionManager();
Execution ex = pem.createExecution(pi);
// Signal the execution
ex.signal();
// Verify the nodes
Node expNode = pd.findNode("stateA");
Node wasNode = ex.getNode();
assertEquals(expNode, wasNode);
assertEquals(expNode.getName(), wasNode.getName());
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Created: (JBPM-1258) Implement jBPM client API in jBMP4
by Thomas Diesler (JIRA)
Implement jBPM client API in jBMP4
----------------------------------
Key: JBPM-1258
URL: http://jira.jboss.com/jira/browse/JBPM-1258
Project: JBoss jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
- ThomasD + HeikoB design the BPM API in the jBPM3 SVN
- TomB reviews,comments,approves API
- ThomasD implemts the API on the jBPM3 code base
- HeikoB implemts the API on the jBPM4 code base
On our way to jBPM4 we promise backward compatibility of API and process descriptors. Necessary changes in configuration will be documented. Database structure and content may change in an incompatible way.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months