This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Subprocess Task
The .bar file relevant for this sample is TrainTicketValidationProcess.bar.
This sample explains the use of a sub process.
- A customer enters user name, platform Id, and destination in a form.
- Once the details are completed, a sub process is invoked to validate the provided details.
- Under ‘check ticket details’, the inspector user does the validating based on the following details: name, destination.
- Under ‘check boarding details’, the inspector user does the validating based on the following details: name, platform id.
- Once both these tasks are completed, the user can board the train. A user task will be available for customer user with successful departure.
- If both these tasks are not completed within the allocated time (1 minute in this sample), the user will fail to board the train. A user task will be available for customer on failure info.
Follow the steps in Deploying BPMN Samples to deploy the sample using the WSO2 BPS management console.