Assign Activity

The assign element performs assignment and is a process activity. When using assign elements in an operation, you must know the appropriate service parameters, such as the map name that the translator needs.

Some specifications for assign elements are:

  • How the assign element is used determines what it uses as a data source destination.
  • In the output element, the assign element performs assignment from the process data to the outgoing message. The to attribute corresponds to the path within the outgoing message and is used to construct the message contents.
  • In the input element, the assign element performs assignment from the incoming message to the process data. The to attribute corresponds to a value within the process data.

The following example uses the assign element as an activity within an operation:


<operation name=’name’>
   <participant name=’name of specific service’/>
   <output message=’output message from service’/>
   <input message=’input message for service’>
      <assign to=’z’ from =‘x’/>
   </input>
</operation>