Friday, January 15, 2016

Simple BPEL if-else condition using WSO2 Developer Studio

Open a new project. File -->  New --> Other --> WSO2 --> Business Processes --> BPEL Workflow
      

Then select Create New BPEL Project and give the Project name and Process name as given   below.





Delete the FIX_ME-Add_Business_Logic_Here in .bpel file.
Create int type new variables named givenNo.

Assign the new variable to the input.



Add if condition and give an expression for the if condition.



Assign values for the if and else conditions. 





Change the input type in IfElseBPELArtifacts.wsdl file.

Click arrow button in input row.






Now this BPEL is OK for proceed. 




 

No comments:

Post a Comment