I need to email back the workflow logs in case of an error with the workflow. How can I email back the workflow logs in case of a failure within the same workflow as an event
You can create an after run event. Click on the canvas, go to Events tab in the Workflow configuration on the left and then add an email event, like this.
The body text is set to include the workflow log information
i want that outputlog as an attachment instead of the email body