Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Rules Development Help | Working with Decision Trees | Modifying a Decision Tree | Adding an Action Result Node
 
Adding an Action Result Node
You can add an action result node to another result node or to a condition node.
*To add an action result node:
1. Open the decision tree as described in Opening a Decision Entity.
2. Do one of the following:
a. Right-click any condition node or result node and select Add action result icon Add Action from the context menu.
b. Click Add action result icon Action in the Palette view. Drag and drop, or click and drop it either on a condition node or on a result node.
c. Click The add action result icon in the toolbar.
3. In the Action Selection dialog box, modify the required info as described in the following table:
For this field
You can do this
Label
Click the label value to modify the action name.
Status
Enable (click The enable action icon) or disable (click The disable action icon) the action for all associated result values.
Note:
You can modify the action status of the individual result values as described in Modifying the Status of an Action Result Node.
Select action
Select an action. It then appears in the Label field, where you can modify its name.
4. To specify action inputs, click Next. Otherwise, click Finish.
5. Do one of the following:
If you want to add a new data action:
a. On the Select Output Parameter page, select an output parameter from the list of available parameters or create a new output parameter by entering a parameter name in the Name field.
b. Click Next.
c. Specify action inputs as described for process and service actions.
If you want to add a process or service action, proceed as described in the following table:
To
You can do this
Associate an element of an available input parameter with an action input
a. Click an element of an available input parameter.
b. Click the action input you want to associate with the parameter element.
c. Click The link elements icon in the toolbar.
or
a. Click an element of an available input parameter.
b. Drag and drop the cursor on the action input you want to associate with the parameter element.
Note:
For more information about how to associate lists and tables, see webMethods Service Development Help.
Enter a default value for an action input.
a. Click the action input.
b. Click The specify input value icon in the toolbar.
c. Enter a default value as described in Creating a Service Action, Step 9.
Note:
The specified action inputs are the default values for all associated result values. You can modify the action input for a result value as described in Modifying the Action Inputs of an Action Result Node.
6. Click Finish.
The action result node is added to the end of the selected condition node or result node.