Question

1
Replies
102
Views
FabioA35 Member since 2013 9 posts
Santander
Posted: February 23, 2018
Last activity: February 27, 2018
Closed

Count Decision Table lines in a Function

Hi,

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).

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn