### Adding and Configuring Assign Actions in Message Flows

Use an assign action to assign the result of an XQuery expression to a context variable.

Before you begin

Display the message flow for the desired proxy service. See Constructing Proxy Service Message Flows.

To add an assign action

1. In the Message Flow Design Palette, open the Stage Actions > Message Processing list, if it is not already open.
2. Drag the assign action to the desired location in the message flow.

To configure the assign action

1. In the Message Flow Editor, click the assign action, if it is not already selected.
2. On the Assign Action Properties page, edit properties as appropriate.