Count Decision Table lines in a Function
How do I count the number of lines in a decision table, using a Function?
My function needs to return the result for all lines of a decision table, like:
return com.pegarules.generated.pega_rules_decisiontable.ObtainValue(tools, tools.getPrimaryPage(), decisionTableName);
Where the primary page has a property like priceLevel, that will evaluate from "N1" to "Nx" (x = number of lines of decisionTableName).