Database Reference
In-Depth Information
It is recommended to use the drag-and-drop feature for copying and assembling
functions. The source code example of the
Assign
activity is given as follows (you
can view the source code from JDeveloper'
Source
tab):
<assign>
<copy>
<from expression="concat('BPEL working ',
bpws:getVariableData('input',
'payload', '/p:input))"/>
<to variable="output" part="payload"
query="/p:result/p:message"/>
</copy>
</assign>
Assign
activity in BPEL can do the following:
• Copy data of one XML variable from input to output
• Calculate the value of an expression and store it in a variable
The
Assign
syntax of the
copy
function is as follows:
<copy> <from...> <to...> </copy>