ODM Interview Questions
- What are the different integration patterns ?
- What is the sequence of execution of rules in sequential algorithm ?
- What are the different execution algorithms ?
- What is a Ruleset variable ?
- What is a Ruleset parameter ?
- What are the different testing approaches of rules ?
- What is a Ruleset extractor ?
- HTDS vs MTDS ?
- What is a Interceptor ?
- Static vs Dynamic XOM ?
- What is working memory ?
- What is SSP ?
- What are the rules best practices for performance ?
- What are the rules coding standards ?
- What is Rules Solution for Office ?
- How to monitor Rules execution in Decision Center ?
- Can we automate rules deployment ?
- What is a Dynamic domain ?
- What is a Technical rule ?
- Is rules execution multi threaded ?
- What is a main ruleflow ? and can we have more than one main ruleflow ?
- Is ruleflow mandatory for a ruleset ?
- What is a virtual method ?
- What is a Decision Ware house ?
How to test rulesets in IBM ODM v8.10.2 rule designer
From a passionate developer for all ‘rule’ developers…
Welcome to my blog – probably the only IBM ODM blog available over the web created by a developer for all ‘rule’ developers. I have tried to list all my work, essential findings, automation tools and utilities in this blog. It also contains resolutions of many frequently faced problems and exceptions during rule development. You can read more about me here.
The purpose of this blog is not to teach developers writing rules using IBM ODM rather to help developers already working on IBM ODM with resolutions of frequently faced problems & challenges, utilities, automations and customizations since our best colleague Google is also silent on our tool. Even, official IBM ODM Community sometimes cannot help us; here is an example where I’m awaiting for a resolution from the community since Jul, 2015, though I already have resolved it myself and created the plug-in XML Scenario Provider.
I would urge the readers to go through the entire blog as it contains many distinguished articles which would contribute to their knowledge-base and share with others if something is useful. I’m always available for challenges and work that would challenge my ability. This page contains highly recommended & most interesting posts.
Many organizations following BRMS approach looks forward to enable LDAP Authentication on decision center so that users can access business console using their organizational credentials and infrastructure team has no need to manually configure and manage application users in WAS. However, numerous organizations don’t succeed due to lack of information available on LDAP & Decision Center Integration.
This article demonstrate the process of integration in following two steps:
- Decision Center Customization
- LDAP Configuration on WebSphere Application Server
Quickly create DVS Scenarios using XMLs into DVS Sheet with this Excel Add-in. DVS Testing is no more a headache for ‘rule’ testing. Features of DVS Scenario Loader:
- It’s generic means it can be used for any Ruleset
- It’s capable of loading ‘n’ number of Test Scenarios into DVS Sheet from Test XMLs in one go
- Nothing is hard-coded
- All Test XMLs have to be kept in a folder with Domain sheets in another folder, if external domains have been used
- A DVS Sheet once prepared with parameters, can be used any number of times until XOM is not modified
- Excel COM Add-In once installed, will be available to server you until disabled explicitly
There is no way in IBM ODM to execute serialized XOM XMLs in Rule Designer representing a test scenario, an error or a defect in order to replicate the same, find the cause and fix. However, shouldn’t we try ourselves with the available resources and tools to build something to execute XMLs? Yeah, it’s not easy but not impossible.
Yes, not impossible and I made it possible. All we need to do is build an eclipse plug-in?…Plug-in?? Ohh no!!! Really difficult to deal with. Right?
Nothing to worry. Install my XML Scenario Provider Plug-in, go ahead and execute your XOM XMLs in Rule Designer.
This question is reasonably common for all rule developers working on complex rule processing. Many times we need to execute a ruleflow task or a bunch of rules over a collection of objects. However, IBM ODM doesn’t provide any built-in construct or Ruleflow element to iterate. However, there exist some workarounds which enable us iterate the collections and apply business rules over the objects enclosed by then collection. There are 3 approaches to iterate collections in IBM ODM.
Ruleset Interceptors are extremely helpful if we know how to deal with them. Using interceptors, we can inject custom behaviors before and after ruleset execution. We can implement aruleset interceptor on rule sessions to make run-time ruleset selection for execution. A Rule Session is a runtime connection between a client and a rule engine. It is associated with a single ruleset and consumes rule engine resources.
ANT stands for Another Neat Tool. It is a Java-based build tool from Apache to automate a build and deployment process that can be executed from command-line. Most of the time we need to migrate our RuleApps on RES from an environment to another such as SIT to UATor STAGE to PROD. There are Ant Tasks available which can help us automate the migration of RuleApps from an environment to another.
While working on commercial applications, many a time we come across circumstances where business says that only a subset of rules must be applied on the request data if the request satisfies certain conditions. In other words, rule engine should decide which rule to execute as per the agenda and the rest should be ignored. That is the effectiveness of the rules depends upon the request date received from calling application and we call this Dynamic Rule Selection.
While testing a huge & complex Ruleset particularly with lots of decision tables through Rule Designer or SoapUI, you may have encountered runtime exceptions such as ResourceException, XUException or IlrProductionRulesetIntrospectionException. We can resolve the exception by controlling how .class files are split by the compiler.
Action Rules with fixed UI Templates
Queries to modify rule actions (then part)
IBM Operational Decision Manager (ODM) is IBMs Business Rule Management System (BRMS) which is the successor of Ilog Jrules. ODM incorporates Rule Management and Event Processing in the newer versions. It contains three important components called Decision Center/Team Server(Used by business team for authoring rules), Rule Designer(Used by developers for creating and maintaining rules) and Rule Execution Server(Used for executing rules).
What are different task types?
User Task:
- User tasks must be completed by process participants and are associated with Human services by default.
- For cases where you want a user to start the service but no additional user involvement is required, you can also choose a user task type and associate a service with it, such as an Integration or Advanced Integration service.
- Process Designer automatically creates the required user implementation that you need when you drag process components onto a diagram. You can also choose the User Task and associated service for activity implementation, as described in Implementing activities.
System Task:
- System tasks must be completed by an automated system or service and are automatically run without a need for user initiation regardless of the type of lane in which they are defined in a BPD diagram.
- When you drag an Ajax service, General System service, Integration service, or Advanced Integration service from the library to a BPD diagram, Process Designer automatically creates an activity with a System task type, regardless of whether the service is dragged to a system lane or a participant lane.
- Dragging an activity from the palette to a system lane in a BPD diagram automatically creates an activity with a System task with the Default System service selected. System tasks that you place in a non-system lane are also run by the system.
Decision Task:
- Decision tasks are useful when you want a decision or condition in a business rule to determine which process implementation is started.
- When you drag a Decision service from the library to a BPD diagram, Process Designer automatically creates an activity with a Decision task.
- A subprocess represents a collection of logically related steps contained within a parent process. You can view a subprocess as a single activity, providing a simplified, high-level view of the parent process, or you can drill into the subprocess for a more detailed view of its contents.
- Subprocesses can contain swimlanes that are distinct from the parent process. For example, activities in your subprocess can be carried out by a set of participants that is different from the set of participants that carry out the activities in the parent process.
- Like other activities, subprocesses can be configured to run multiple times within the execution of the parent process by configuring looping behavior on the subprocess activity element in the parent process.
FAQ
What is IBM ODM used for?
What is Rule engine in IBM ODM?
What is IBM ODM developer?