Establish the following local variables:
- ServiceID from 'contactEval'
- Presence document (PIDF) from 'contactEval'.
bpel:getVariableProperty("contactEval" "xsd:anyURI")
$svcID
bpel:getVariableProperty("contactEval" "pdf:presence")
$prsInfo
boolean(0)
$boolTmp
Find applicable contact means $cm in $prsInfo (i.e. service)
tuple corresponding to $svcID
Establish $theResult with isContactable='open'
and a valid ContactMeans based on $cm, for $svcID
utilizing validity period established from $optIn.
- $boolTmp is set to the value 'true' on
successful completion of this activity
Establish $theResult with attribute isContactable='closed' and
undefined ContactMeans, and validity period.