Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Rules Development Help | Working with Event Rules | Modifying an Event Rule Result | Adding an Action Result
 
Adding an Action Result
You can add an action result to an event rule.
*To add an action result:
1. Open the event rule as described in Opening a Decision Entity.
2. Do one of the following:
a. Right-click any cell 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 before or after an existing result.
c. Click The add action result icon in the toolbar.
d. Click an action in the Rules Explorer view. Drag and drop it either before or after an existing result.
3. In the Action Selection dialog box, modify the required info as explained 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 the associated result value.
Note:
You can modify the action status of a result value as described in Modifying the Status of an Action Result Value.
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, procedd 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 the associated result value. You can modify the action input for a result value as described in Modifying the Input of an Action Result Value.
6. Click Finish.
If you add an action result with the context menu or the toolbar, it is inserted after the last result. Otherwise it is inserted in the place where you drop the cursor.