The output from a receive, invoke (for a request-response operation) or people activity (containing a task) can require that data is mapped to a process variable.
The output from a receive or invoke (for a request-response operation) can require that data is mapped to a process variable.
Assignment Type
Single Variable
. Select a variable from the list to put the output of the activity into that variable. The variable must be of the operation's output message type, or, if the operation reply has only one part, the variable's type can be the element type of the one part. Select an existing process variable or select
New Variable
.
Parts To Variables
. Select Parts To Variables if you want each reply message part to map to a different variable. For details, see
From Part to Variable
.
XPaths
. Select XPaths if you want to use a table to map from data within existing variables to the contents of the input message. The table uses XPath expressions that allow you to select nodes from a variable to assign to the input variable as well as compute values (strings, numbers, or Boolean values) from the content of variable. See
Adding XPaths
in the
Input Variable
topic.
Viewing Container Variables
If you use XPaths, a container variable is added to the Process Variables view, called
result
. Similarly, if you add are copying attachments to the input variable, you will see the container variable,
attachmentCopyResult
. These variables are hidden by default since they are used only temporarily at runtime to process parts of a full variable. Select