This exercise again will be a sequence of previous exercise. We will see how we can incorporate business rules in BPMN.
Create a new project for business rules
Create two data object and then create two business object based on the data object
Create a default human task and create data association to map the input data for the workflow argument
Create a file adapter(based on response schema) to write data into a file location in your local machine.
Drag and drop a service task and point it to the file adapter you have just created.
Finally go to data association and map the data accordingly
Drag and drop a business rule and place it between the user task and the service. create input and output variable for Business rules
Create data association for business rule and assign the data .
Go to your business rule and create a rule condition as per your business requirement.
Deploy the process and test it.
Go to instance details and validate whether the process completed successfully
No comments:
Post a Comment