### Adding and Configuring Delete Actions in Message Flows

Use a delete action to delete a context variable or a set of nodes specified by an XPath expression.

Before you begin

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

To add a delete action

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

To configure the delete action

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