Output Parameters
You can use return variables (RV) or return parameters (RE).
Multiple output parameters can be returned, using a comma-separated list of return value-name pairs. Each name is the name of a node in the web service XML response document, or the name of an output parameter of the event.
To construct these parameters using the Event Action Output Parameters form, click the button to the left of this field.
For the Call Web Service action type, each value-name pair listed in this field must use one of these syntax statements:
RV( var ) = scalarExpr
RE( param ) = scalarExpr
where:
- var is the name of the variable designated to receive a return value.
- param is the name of the parameter designated to receive a return value.
- scalarExpr resolves to the name of the node in the web service XML response document from which the return value is to be taken.
For a Generate Event action type, each value-name pair listed in this field must use one of these syntax statements:
RV( var ) = Id
RE( param ) = Id
where:
- var is the name of the variable designated to receive a return value.
- param is the name of the parameter designated to receive a return value.
- Id is the name of an output parameter of the event to be generated.
When you click Event Actions form, the application "wraps" this content within a SET( ) parameter, which yields final syntax in one of these formats:
to return to theSET( RV( var ) | RE( param ) = scalarExpr [,
... ] )
SET( RV( var ) | RE( param ) = Id [, ... ]
)