<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>IBM BPM Tips Q&amp;A - Recent questions and answers in Decision Services</title>
<link>https://ibm.bpm.tips/qa/decision-services</link>
<description>Powered by Dosvak LLC</description>
<item>
<title>What is the difference between Implicit and Explicit Decision Gateway?</title>
<link>https://ibm.bpm.tips/24/what-is-the-difference-between-implicit-and-explicit-decision-gateway</link>
<description></description>
<category>Decision Services</category>
<guid isPermaLink="true">https://ibm.bpm.tips/24/what-is-the-difference-between-implicit-and-explicit-decision-gateway</guid>
<pubDate>Sun, 15 May 2016 16:54:08 +0000</pubDate>
</item>
<item>
<title>Answered: Can someone provide an overview of built in Decision Services and Rule Services?</title>
<link>https://ibm.bpm.tips/3/can-someone-provide-an-overview-of-built-in-decision-services-and-rule-services?show=4#a4</link>
<description>Decision Services&lt;br /&gt;
&lt;br /&gt;
1. DS can be exposed as a WS&lt;br /&gt;
2. can be invoked via JMS or pure java call also&lt;br /&gt;
3. migration path from DS to jRules though possible is not recommended since the extended capabilities of Jrules will most probably necessitate a rewrite of the rules&lt;br /&gt;
4. recommended for &amp;lt; 30 business rules&lt;br /&gt;
5. best practice minimum necessary data should go in as input (actually least possible)&lt;br /&gt;
6. reference data should not be inputed/provided but the DS is responsible for acquiring it via an integration and if applicable with a caching layer in between.&lt;br /&gt;
7. no interface available for business to update DS in runtime at least in standard version.&lt;br /&gt;
8. a rule change or a new rule means process app redeployment&lt;br /&gt;
9. Generally used for process route decisions, validate coach inputed data, decision parameters within BPM services.&lt;br /&gt;
10. Provides regular JS besides BAL rules and Decision tables for more complex data based manipulations&lt;br /&gt;
Basic purpose of a rule is to make a decision, derive new data based on old data, enforce a business policy&lt;br /&gt;
&lt;br /&gt;
BAL Rules&lt;br /&gt;
1. BAl rules internally have a jrules engine&lt;br /&gt;
2. slower than decision tables to run because of embedded jrules engine.&lt;br /&gt;
3. provided features which Decision table can not do e.g. compare one variable to another or one variable to a collection&lt;br /&gt;
4. there is no output data binding for decision services in gateways&lt;br /&gt;
e.g. a BAL rule is if request type is A or request type is B set valid = true&lt;br /&gt;
u will use tw.decision.valid to use the BAL rule output variable&lt;br /&gt;
5. the order matters and the rules are executed in the specified order&lt;br /&gt;
6. if condition true then action or action only which is always executed.&lt;br /&gt;
7. provide iteration capabilities and control statements in an english manner.&lt;br /&gt;
&lt;br /&gt;
Decision tables&lt;br /&gt;
compare variables with hard coded single or multiple values or comparison operators, action or otherwise kind of assignments&lt;br /&gt;
action is a javascript which you can use to set a boolean flag as a decision, convert data, or selectively update existing data etc.&lt;br /&gt;
&lt;br /&gt;
All other components in a service e.g. tacking, nested services, js etc are available</description>
<category>Decision Services</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3/can-someone-provide-an-overview-of-built-in-decision-services-and-rule-services?show=4#a4</guid>
<pubDate>Sun, 15 May 2016 15:42:49 +0000</pubDate>
</item>
</channel>
</rss>