Skip to Content

Use IsSet() to check the value returned by association BusinessTransactionDocumentReference ..??

Hi experts,

I'm getting a warning Avoid dump : Use IsSet() to check the value returned by association BusinessTransactionDocumentReference.

But function IsSet() is not listed in 'auto suggest list' also, ABSL file is not getting activated for the same if IsSet() is written by hand.

So, I'm finding a way to resolve this type of problems in my ABSL code.
Problem is not only with BusinessTransactionDocumentReference.
There are many associations like this; produce same warning when I Run Performance Check on ABSL file.

Here is the screenshot of ABSL file :

Here is the screenshot where I'm trying to solve the warning message :

Run Performance check :

Performance check window :

Please help.

Regards,
R.Ganesh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 24 at 11:49 AM

    Hello,

    it is a node that is why you can see "GetFirst()" etc.

    So if you want to check if there are any nodes you can use "Count()" to check if it is > 0 or you need to specify which node you want to use the "IsSet()" Function.

    Add comment
    10|10000 characters needed characters exceeded