RedHatEMEA / rh6pd

9 stars 8 forks source link

Create example jBPM process #4

Closed jamesread closed 12 years ago

jamesread commented 12 years ago

Create an example jBPM process. This process should contain the following;

mbuamuh commented 12 years ago

The sample process can be found in rh6pd-businessRules/src/main/resources/sample.bpmn. It contains Script nodes and a business rule node. The unit test for this sample can be found in /rh6pd-businessRules/src/test/java/rh6pd/test/examples/simpleFrameworkTest/TestSampleBpmn.java

To be done: an example with a node with a decision table

mbuamuh commented 12 years ago

I have created a new sample process similar to the one mentioned above, but this time with a decision table in the business rule node. The sample process can be found in rh6pd-businessRules/src/test/resources/SampleDecisionTable.bpmn The decision table can be found in rh6pd-businessRules/src/test/resources/CalculatePremium.xls The unit test for the process can be found in rh6pd-businessRules/src/test/java/rh6pd/test/examples/simpleFrameworkTest/TestSampleDecisionTable.java

mbuamuh commented 12 years ago

A sample process with a human task node can be found in rh6pd-businessRules/src/test/resources/humanTask.bpmn. The unit test for it can be found in /rh6pd-businessRules/src/test/java/rh6pd/test/examples/humanTasks/TestHumanTask.java