Question

can we call decision table in decision table

can we call decision table in decision table

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

January 9, 2019 - 9:33am

Yes, in return action you can use the keyword Call followed by a space and the name of another decision table.

https://community.pega.com/sites/default/files/help_v81/procomhelpmain.htm#rule-/rule-declare-/rule-declare-decisiontable/table.htm

January 9, 2019 - 1:03pm

Hi Lavanya,

Additionally, you can also call using ObtainValue which is explained over here.

Regards

Mahesh M

April 28, 2019 - 5:18pm

Hi Lavanya,

We can call the Decision table and Decision tree in Decision table using the below functions:

@pxEvaluateDecisionTable

@pxEvaluateDecisionTree

Thanks,

Ravi Prajapati

October 6, 2019 - 1:00am
Response to Ravi_P

Hi Ravi,

In 7.3.1 verion, the above two functions are not available.

Can you let us know in which version these are available?

Regards

KC

October 6, 2019 - 2:05am

Hi Lavanya,

Use ObtainValue function in Decision Table

Syntax:

@(Pega-RULES:DecisionTable).ObtainValue(tools,myStepPage,decisionTableName,bAllowMissingProperties)

Example:

@(Pega-RULES:DecisionTable).ObtainValue(tools,Primary,"pyBackgroundColorsForSubFeatures",false)