I would like to create a script that would update a table based on the failed document’s error number. Is there a way to capture the error number in a variable?
Donald,
You can use the GlobalLastError variable as is should give you the last error encountered. It would be the entire error however so if you are looking for the econnect number itself, you would have to parse the message and find it yourself.
patrick
If you would like to submit an answer or comment, please sign in to the eOne portal.