Continue on "Object reference is not set to an instance of an object"

Hello, I am getting the error “Object reference is not set to an instance of an object” in the forEach loop. If this error appears, I would like to go to the next row.

Another question. How to make sure the script continues on any error?

Thank you

so cover the body with try catch then it will continue with next row

Hi @robvesver,

You catch the error using try catch.
You handle the error with the if condition. If it is an error you specify, you log it. In this way, you can make sure that it passes and for which values ​​it gives this error by following the logs.


@robvesver Attached workflow would help you !! (2.9 KB)

Hi @robvesver

Surround a try catch activity for that activity where error is occuring

Try block use ur activity

In catch block just use a log message

This will serve ur purpose

Hope this helps

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.