Question

1
Replies
191
Views
Close popover
Nitesh Agarwal (NITESH AGARWAL)
Virtusa

Virtusa
IN
NITESH AGARWAL Member since 2010 9 posts
Virtusa
Posted: July 1, 2020
Last activity: July 1, 2020
Solved

Call decision table in when rule with parameter

Hello,

I want to use a decision table in which the first row is a parameter. This decision table should be evaluated in a when-rule, in which I pass the parameter to the decision table and get true or false back.

Is there a function which I can use to call a decision table with a parameter in a when-rule?

For Example:

 

Context (param.Function)

Evaluation 1 Evaluation 2   Return
if Function1 true     true
else if Function2   true   true
otherwise        

false

When-Rule: @FunctionToCallDecisionTableWithParameter("param.Function1", DecisionTableName)

Return-Value: True/False

If you have further questions, please let me know.

Pega Customer Service 7.1.4 Project Delivery