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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.