Creating a New Data Action
You can create a new data action using the New Action wizard.
To create a new data action:
2. On the Rule Action page, type a name for the action in the Action name field.
3. Select a rule project from the drop down list in the Rule project field.
If you opened the wizard from a specific rule project in the Solutions view or from the Rules Explorer view, the name of this rule project appears in the
Rule project field.
You can select any other rule project from the drop down list.
4. Type a description of the action in the Description field (optional).
5. Select New Data Action from the drop down list in the Type field.
6. Select the Only allow this action to run once check box if you want the action to be executed only the first time any of its associated rules fire. This setting is global for the execution of the rule or rule set. If the action is used more than once in a decision entity or in more than one decision entity, it will still only be executed once per Rules Engine invoke.
7. Click Next.
8. On the New Data Action page, select the data model you want to associate with the action.
9. Click Next.
10. Optional. On the New Data Action Default Input Values page, specify default input values as explained in the following table:
For this field | You can do this |
Include empty values for String Types | Select the check box if you want to use an empty string (a string with a zero-length). |
Action Input Parameters | This value cannot be modified. |
Default Values | Note: The input value must match the data type of the parameter element. |
11. Click Finish.
A new data action is created and saved to your workspace. It appears in the Rules Explorer view under
Actions >
[ActionName].
Related Topics