• United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.206

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Active property and runtime rule selection

270002V45P gravatar image
Question by odmfp  (10435) | Feb 11, 2015 at 02:48 AM ibmodmjrulesibmcloudbusinessrulesrule task

How can I write the rule selection code in rule task, using the "active" property?

Thorsten Busch

People who like this

  1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
270002V45P gravatar image
Accepted answer

Answer by odmfp (10435) | Feb 11, 2015 at 02:50 AM

The "active" property is not extracted during ruleset generation, and it is therefore not available to the engine at runtime. In particular this property cannot be used to perform runtime rule selection at the level of a rule task.

However it can be used during ruleset extraction, where an extractor query can use the property value to determine whether to include a rule or not in the generated ruleset. Such query based extractions can be performed either through Rule Studio or through Rule Team Server/Enterprise Console.

Another way of using this property to filter the content of generated rulesets is through the following Rule Studio build option :

Preferences > Rule Studio > Build > build rules for which the "active" property is false

By default all rules are included in the ruleset build and by unselecting the above option the rules for which the "active" property is false will be filtered out.

Comment
usiddiqui
LiezlChin
Thorsten Busch
Ajay_Kandula

People who like this

  4   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002MWB6 gravatar image usiddiqui (1891)   Mar 13, 2015 at 04:49 PM 0
Share

This is also applicable when working with the Rule Designer for ODM and for Business Rules service on Bluemix.

Follow this question

18 people are following this question.

Answers

Answers & comments

Related questions

Improving response time when editing a large decision table 1 Answer

Issue with HTDS signature : double wrapped complex BO type parameters 1 Answer

The results of arithmetic operations show unexpected precisions for decimals 1 Answer

Rule task ordering and RetePlus algorithm 1 Answer

Printing Boolean attribute 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges