pub.flow.getLasError value not exist and not working (10.5)

The getLastError will be null. It does jump to the “catch” as the flow should. But the error is not set with the failure error message. So when I attemt to get the error message, nothing is returned. Please help

Hi Reza,

can you please share an outline (i.e. as screenshot) of your flow service?

Remember that the getLastError invocation needs to be the first step inside the CATCH sequence otherwise the error message will be lost.