In Pega Decision Tables, directly using string functions like contains or case-insensitive checks on parameters or properties may not work as expected when configured in standard condition cells.
A simple and effective approach is to define the condition at the table header level using a function expression.
For example:
@String.contains(syntax, Param.Name)
replace syntax to : current-value with html tag<> , unable to add that here
This allows the Decision Table to evaluate dynamic conditions such as:
-
Partial match (contains)
-
Case-insensitive comparisons (with appropriate functions)
Since the Decision Table is internally processed like a list evaluation, applying the function at the header level ensures correct execution.