In this article we will see how to create simple BPEL process and use Business rule.
Use Case:
Payload has Employee name and Salary. Based on Salary want to return what type of rule Employee can be.
For instance
if the employee salary is between 0 to 50 then their role would be JUNIOR
if the employee salary is between 50 to 100 then their role would be ANALYST
if the employee salary is greater than 100 then their role would be SENIOR
Below attached video show how to define simple BPEL process with Business rule which satisfies above mentioned use case.
Also attaching source code.
No comments:
Post a Comment