Friday, August 9, 2013

How to set BPEL Process Title in SOA Oracle 10g




Please follow following steps :
·         Define BPEL string variable "title"

<variable name="title" type="xsd:string"/>


 ·         Using Assign activity in BPEL, we can assign element value  from input EBM XML to this title variable as per our requirement. We can assign same  value  from input xml or modify it and then assign it to variable title .


 ·         Use Java Embedding activity from Jdeveloper. i.e bpel:exec


 Edit  the java embedding activity, set title for BPEL instance by using below command.


        setTitle((String) getVariableData("title"));