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.

@TanyaS58

Yes it is. But it depends on you requirement and how the data transform is configured.

@SohamM95 in activity we have allow missing properties checkbox so how can we do in a DT?

@TanyaS58

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.

@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

@TanyaS58

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.

@SohamM95 Thanku