Question
Cognizant
IN
Last activity: 14 May 2024 3:00 EDT
Is it possible to handle errors in a decision table using a DT?
How to error handling of a decision table using a data transform.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 14 May 2024 3:00 EDT
Maantic Inc
IN
You can use this function to call the decision table @pxEvaluateDecisionTable(String PrimaryPageName,String RuleName, boolean bAllowMissingProperties). Pass as true/false in the boolean parameter field as per your requirement.
Maantic Inc
IN
Yes it is. But it depends on you requirement and how the data transform is configured.
Accepted Solution
Updated: 14 May 2024 3:00 EDT
Maantic Inc
IN
You can use this function to call the decision table @pxEvaluateDecisionTable(String PrimaryPageName,String RuleName, boolean bAllowMissingProperties). Pass as true/false in the boolean parameter field as per your requirement.
Pegasystems Inc.
CA
I'm not certain about your requirements. Let's say you want to display an error message based on certain parameters like error code. In that case, you can use a decision table in your data transform rule. By doing this, you can retrieve the appropriate error message based on the error code mentioned in the decision table.
Cognizant
IN
@RameshSangili no not error code actually suppose in a decision table if you are passing a input property as null then it should throw an error that input property was missing so how to handle this situation in a DT as in activity we have allow missing properties checkbox