4.1 Add Query
Deployment of a rule project is extracted from a set of rules based on a user-defined query condition, so a query is defined first.
How to: Find "Add query" in a rule project diagram enter the query name à ok to enter the criteria in the rule.
Find All Business Rules
Meet the criteria: the status of each business rule is deployable
So we want to change the status of the rule you want to deploy to " deployable ". Modifies the state in the property in the lower-right corner of the rule.
4.2 Creating the rule set Extractor
How to: Mouse Select item à right button à attribute à rule set extractor à add à enter a name, browse to the query you just created à ok.
4.3 synchronization Rule Team Server
The deployment of the rule is to be done in the Rules team server, so you need to synchronize/update the rule items in the rules studio to the ruleset server.
Operation procedure: Mouse selected item à right key àrule team serverà connection à enter user name, password, urlà OK.
User name | password | url:wangsulong326|aaaaa888|http://10.25.44.15:32779/teamserver/
After the first connection, synchronize the project later, mouse Select item à right button Àrule team serverà sync with rule Team Server.
This allows you to select the template project in the Rule Team Server system and navigate to all the rules in it.
4.4 Creating app and rule sets
First deployment requires the creation of an app and a rule set.
How to: Configure à admin ruleappà first need to create a new app, and create a new rule set under the rule set à save.
Remember the app name and rule set name here, which is used in the EJB invocation interface.
4.5 Regular projects of the Department
How to: Configure à admin ruleappà check the corresponding Appà deployment to create baselines for this deployment the next option is to deploy on the rule execution server à next to check the incremental rule set minor version à the next step is to deploy.
The above hints indicate that the rule deployment is successful and can be invoked by the business system. Rule calls automatically get the latest version of the rule, but after the rule is deployed there will be a partial delay for the new rule to take effect, generally after 5 minutes after the call is good, can also be based on the version of the call generated to judge.