### Adding and Configuring Dynamic Routing Actions in Message Flows

Use a dynamic routing action to assign a route for a message based on routing information available in an XQuery resource.

Before you begin

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

To add a dynamic routing action

1. In the Message Flow Design Palette, open the Route Actions > Communication list, if it is not already open.
2. Drag the dynamic routing action to the route action in the message flow.

To configure the dynamic routing action

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