Decision Table: Is it possible to specify one value per cel for multiple placefolders in the same constraint template?

Solution In Progress - Updated -

Issue

In decision table, there is constraint template like

inputdata.substring(param1,param2).equals("param3") 

i.e. there are 3 place holders, param1,param2 and param3

We want to specify each parameter one by one per cell in the rule row like the following.

        |                      CONDITION                       |
--------+------------------------------------------------------+
        |  inputdata.substring(param1,param2).equals("param3") |
--------+-----------------+-----------------+------------------+
RuleName|    param1       |   param2        |    param3        |
--------+-----------------+-----------------+------------------+
rule1   |        0        |      3          |     aaa          | 
--------+-----------------+-----------------+------------------+

=> expected condition being generated is 'inputdata.substring(0,3).equals("aaa")'

Is it possible to get above to work?

Environment

  • Red Hat JBoss BRMS
    • 6.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content