Designer 10.15 | webMethods BPM Rules Development Help | Working with Actions | Creating a Predictive Analytics Action
 
Creating a Predictive Analytics Action
 
About Data Types for Predictive Analytics Actions
Before you can create a predictive analytics action, you must install the WmPredictiveAnalytics package on an Integration Server, and you must be connected to this Integration Server. To install the package, follow the instructions as described in Integration Server Package for Zementis.
The package must be configured to have access to a server on which the Apama Predictive Analytics Plug-in is running. To configure the package, follow the instructions as described in Integration Server Package for Zementis.
*To create a predictive analytics action with the New Action wizard:
1. Open the New Action wizard as described in Accessing the Action Wizard.
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.
*To create a new rule project, click New and create the new rule project as described in Creating a Rule Project.
4. Type a description of the action in the Description field (optional).
5. Select Predictive Analytics 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 is still only executed once per Rules Engine invoke.
Important:
You cannot select the check box for actions that deliver an output value. If you specify an output value for the action on the Predictive Analytics Action Output Value page, the Only allow this action to run once check box will be deselected.
7. Click Next.
8. On the New Predictive Analytics Action page, expand the Integration Server you want to work with, and select the predictive model you want to associate with the action.
9. Click Next.
10. Optional. On the Predictive Analytics 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
Type the input value where admissible. Restrictions are described in About Entering Input Values.
Note:
The input value must match the data type of the parameter element. The Apama Predictive Analytics Plug-in knows only a limited number of data types, see About Data Types for Predictive Analytics Actions.
11. Click Next.
12. On the Predictive Analytics Action Output Value page, select the predictive analytics action output (optional).
13. Click Finish.
A new predictive analytics action is created and saved to your workspace. It appears in the Rules Explorer view under Action icon Actions > Action file icon [ActionName].
Related Topics