Adding Delete Actions

Use the delete action to delete a context variable or a set of nodes specified by an XPath expression.The delete action is one of a set of update actions.

Before you begin

These instructions assume you are already editing a message flow in the Edit Message Flow page, as explained in Creating, Editing, and Viewing Message Flows.

To add a Delete action

  1. Navigate to where you want to add the action, as described in Adding and Editing Actions in Message Flows.
  2. To delete a context variable, select the Variable radio button, then enter the name of a context variable in the Variable field. To learn more about context variables, see Appendix A, Message Context.
  3. Alternatively, to delete all nodes selected by an XPath expression, select the XPath radio button, then click <XPath>. The XPath Expression Editor page is displayed. See Creating and Editing Inline XQuery and XPath Expressions. After you save the expression, enter a context variable in the variable field. To learn more about context variables, see Appendix A, Message Context.

After you finish

When you complete the configuration of this action, continue by configuring other actions or by saving your configuration, as described in Adding and Editing Actions in Message Flows.