Try Catch Printing Exception Source

yes, check this here. Logging.zip (7.6 KB)

Only that it works only if the error occurs in an invoked workflow.

Therefore

  • do your actions in wf1
  • in main add try {invoke wf1;} catch(exception ex) {log ex.source};
  • run main

and it will work.

7 Likes