![](https://csdnimg.cn/release/download_crawler_static/10844552/bg13.jpg)
Enterprise Integrator Documentation – WSO2 Enterprise Integrator Documentation
8.2 Business Process Profile Samples.................................................................................. 2340
8.2.1 BPEL Samples ...............................................................................................................................................2340
8.2.1.1 Synchronous and Asynchronous Service Invocations ................................................................................2340
8.2.1.2 HelloWorld Sample .......................................................................................................................................2345
8.2.1.3 If Construct....................................................................................................................................................2346
8.2.1.4 While Construct.............................................................................................................................................2347
8.2.1.5 ForEach Construct ........................................................................................................................................2348
8.2.1.6 RepeatUntil Construct ..................................................................................................................................2349
8.2.1.7 Pick Construct ...............................................................................................................................................2350
8.2.1.8 Flow and Links...............................................................................................................................................2352
8.2.1.9 Split-to-elements Function ..........................................................................................................................2354
8.2.1.10 Fault Handling...............................................................................................................................................2356
8.2.1.11 XslTransform Function .................................................................................................................................2358
8.2.1.12 Compensation Handling...............................................................................................................................2359
8.2.1.13 Process Correlation.......................................................................................................................................2359
8.2.1.14 BPEL Property Reader Extension .................................................................................................................2360
8.2.2 BPMN Samples ..............................................................................................................................................2362
8.2.2.1 Deploying samples........................................................................................................................................2362
8.2.2.2 Running the samples ....................................................................................................................................2362
8.2.2.3 List of available samples ..............................................................................................................................2362
8.2.2.4 Call Activity Sample ......................................................................................................................................2363
8.2.2.5 Conditional Branching..................................................................................................................................2365
8.2.2.6 Java Service Task..........................................................................................................................................2370
8.2.2.7 Manual Task sample .....................................................................................................................................2372
8.2.2.8 Parallel Branching.........................................................................................................................................2375
8.2.2.9 Receive Task..................................................................................................................................................2377
8.2.2.10 Script Task.....................................................................................................................................................2379
8.2.2.11 Subprocess Task ...........................................................................................................................................2382
8.2.2.12 User Task .......................................................................................................................................................2383
8.2.2.13 User Substitution ..........................................................................................................................................2383
8.2.2.14 XML and JSON Support Sample ...................................................................................................................2386
8.2.3 Human Task Samples ...................................................................................................................................2387
8.2.3.1 Claims Approval Task Sample......................................................................................................................2388
8.2.3.2 Claims Approval Task with Deadline Sample..............................................................................................2398
8.2.3.3 Human Task Coordination Sample..............................................................................................................2400