ActiveVOS Designer User’s Guide
The following are example expressions for message, element and complex schema type variables
Message type variable: $variable.part/location
Example: $StatusVariable.StatusPart2/e:statusDescription
Element type variable: $variable/location
Example: $AStatus/e:statusDescription
Schema complex type variable: $variable/location
Example: $Results/e:AuctionResult[2]/@AuctionID
To express the following statement in a From clause of a Copy Operation:
itemsShipped = itemsShipped + itemsCount
the From expression would look like this:
$itemsShipped + $shipnotice.props/itemsCount
BPEL 1.1
bpws:getVariableData(‘itemsShipped’) + bpws:getVariableProperty(‘shipnotice’, ‘props:itemsCount’)
The following expression converts a variable and part to a string:
string($input.parameters)
BPEL 1.1
string(bpws:getVariableData('input','parameters'))
The following three expressions use similar functions and parameters, but are very different:
$input.parameters = ‘low’
bpws:getVariableData('input','parameters')= ‘low’
Compares the entire value of the input with the string "low", looking for an exact match.
contains($input.parameters, ‘low’)
contains(bpws:getVariableData('input','parameters'), ‘low’)
Compares the input with "low" and returns true if "low" appears anywhere in the input string.
starts-with($input.parameters, ‘low’)
starts-with(bpws:getVariableData('input','parameters'), ‘low’)
Returns true only if the input starts with the characters "low", whether or not there are any other characters after those.
Copyright (c) 2004-2008 Active Endpoints, Inc.