Friday, March 22, 2013

Initialize Variables in BPEL 2.0



In BPEL 2.0 there is an option to initialize the variables.
When you create the variable go to the Initialize tab and give the value you want the variable to initialize to.



In code it will be like this
<variable name="Message" type="xsd:string">
      <from><literal>HELLO</literal></from>
    </variable>



At run time it will become a Assign(0) block and activity shows as before the receive Input.


No comments: