The help documentation doesn't go into a lot of detail about how the different criteria for an error is actually determined by the Workflow Task Error Handlers and I was wondering if we could get some more clarification on the 3 parts.
As an example, I am receiving the following error in my terminated workflow email notification from one of my Workflow servers. I can see the message and within the message I can see what appears to be an error code.
ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]The OLE DB provider "XXXXXX" for linked server "XXXXX" does not contain the table ""XXXX"."dbo"."XXXX"". The table either does not exist or the current user does not have permissions on that table. [XXXXX]
What is the proper way to determine the error code and error type for this message? I imagine most of this information can be gathered from the Error Logs in the Workflow Administration Console, but I'm just looking for confirmation on where exactly.
Along with this, there appears to be a 255 character limit when entering the error message. What is the best way to get around this limitation so those longer messages can be entered?