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

Note that WSO2 EI is shipped with the following changes to what is mentioned in this documentation:

  • <PRODUCT_HOME>/repository/samples/ directory that includes all Business Process profile samples and their artifacts is changed to <EI_HOME>/samples/business-process/.

The .bar file relevant for this sample is TrainTicketValidationProcess.bar.

 

This sample explains the use of a sub process.

  1. A customer enters user name, platform Id, and destination in a form.
  2. Once the details are completed, a sub process is invoked to validate the provided details.
  3. Under ‘check ticket details’, the inspector user does the validating based on the following details: name, destination.
  4. Under ‘check boarding details’, the inspector user does the validating based on the following details: name, platform id.
  5. Once both these tasks are completed, the user can board the train. A user task will be available for customer user with successful departure.
  6. 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.Â