Kishore Ch

Please provide the solution on the given scenario

Discussion created by Kishore Ch on May 8, 2012
Latest reply on May 11, 2012 by Andrei Palskoi

Hi Blaze Experts,

 

There is a Decision Table instance which capture printer details. This will be used to identify to which printer should be routed to. Later it has been identified that, the printer configuration is going to change per environment. For example, the printer id’s for A  is different from B and C. There is no attribute in decision table to capture environment, which might have allowed us to pick correct printer depending on environment.

To over the above issue, I am  thinking for having one decision table per environment. We need to have some switch mechanism in rule flow to pick correct decision table depending on environment. The environment identifier should be loaded from a properties file and loaded into rule base. This value should be used to switch and select correct decision table instance.

 

Technically Please can any one help or explain

How to implement this scenario and how to write the rule ?
Where should i define properties file ?
How to import into decesion table ?

 

Regards

Kishore

Outcomes