I'm coding a SmartConnect integration, I'm trying to write the error back to the source table using a SQL task, but the GlobalLastError variable is blank.
This article describes the workaround.