Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Avaya india pvt.ltd
IN
Last activity: 30 Jun 2017 17:55 EDT
calling decision table from decision tree
Can someone explain me how to call decision table from decision tree?
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689956000/c7d8436c-e407-494e-a0b9-3e4520220ba6.jpg?itok=V-E9m_lT)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689956000/c7d8436c-e407-494e-a0b9-3e4520220ba6.jpg?itok=V-E9m_lT)
Pegasystems Inc.
AU
Can you try this;
IF @(Pega-RULES:String).contains("Pass_Values_Here", Param.PARAMETER) then "Call Decision Table" "NameOFDT"
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Avaya india pvt.ltd
IN
can you please explain me in brief
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689956000/c7d8436c-e407-494e-a0b9-3e4520220ba6.jpg?itok=V-E9m_lT)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689956000/c7d8436c-e407-494e-a0b9-3e4520220ba6.jpg?itok=V-E9m_lT)
Pegasystems Inc.
AU
Hi,
With the combination of if, then, otherwise condition you can call the decision table inside the decision tree. Appropriately the decision table and tree needs to be parameterized. We usually call the decision tree inside a decision tree and not see the use case where we need to call the table in a tree. Enclosed are few best practices followed for Decision Table and Tree;
Decision tree is used whenever we want to return a value based on certain conditions. This basically simulates the if… then logic
If you're making decisions on a series of data that are different from one branch to the next, use decision tree.
Decision tree uses function alias to determine the conditions that are used for returning the value. Each condition can further be nested into multiple levels. Based on our requirement if we want to return a value based on values of 2 or 3 properties then we will use nested conditions. If required we can call another decision tree from current one
The basic difference between decision tree and decision table is that in decision table every condition should depend on all the specified properties. And we cannot specify or logic between the properties.
As opposed to evaluating all the clipboard properties for any given row in Decision tables, you can evaluate specific properties for a given row in Decision Trees
Hi,
With the combination of if, then, otherwise condition you can call the decision table inside the decision tree. Appropriately the decision table and tree needs to be parameterized. We usually call the decision tree inside a decision tree and not see the use case where we need to call the table in a tree. Enclosed are few best practices followed for Decision Table and Tree;
Decision tree is used whenever we want to return a value based on certain conditions. This basically simulates the if… then logic
If you're making decisions on a series of data that are different from one branch to the next, use decision tree.
Decision tree uses function alias to determine the conditions that are used for returning the value. Each condition can further be nested into multiple levels. Based on our requirement if we want to return a value based on values of 2 or 3 properties then we will use nested conditions. If required we can call another decision tree from current one
The basic difference between decision tree and decision table is that in decision table every condition should depend on all the specified properties. And we cannot specify or logic between the properties.
As opposed to evaluating all the clipboard properties for any given row in Decision tables, you can evaluate specific properties for a given row in Decision Trees
Similar to Decision table we can restrict the allowed results. Similarly we can restrict the list of functions being used in the configuration tab
Hope this information helps.
-
Sai Suresh Yaramati Gaurav Londhe
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2025-01/3e846c8f-0ce5-48de-9eac-de95f59583f0.jpg?h=284f141f&itok=3YfzEcxU)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2025-01/3e846c8f-0ce5-48de-9eac-de95f59583f0.jpg?h=284f141f&itok=3YfzEcxU)
Areteans Technology Solutions ltd
IN
You can use the function DecisionTable.ObtainValue()
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Capgemini
US
-
Afroz ali Malleswari Pottanamada Vidya Devi Venkata Shubhakar Yadavalli Aarti Jani and 4 More
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
US
The following PDN link shows 2 examples:
https://collaborate.pega.com/discussion/decision-table