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/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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. 


  • No labels