I would like to build some sort of Workflow Monitoring into my Orchestrator operations. So, I have found several existing examples that get me some of what I am looking for, but still need a little help.
1. Workflow execution details WF: http://www.vcoteam.info/articles/learn-vco/176-how-to-retrieve-workflow-execution-details.html
this wf prints to the System.log the data I need. However, I would like to have the contents emailed by using the built in "scheduled workflow" capability. I believe to email the contents I need to change out code to something like below.
I just not sure how to get it sent via email. change the System.log entries to something like:
body = ""; body += [enter your system log content here] // For example:
body += key + ": " + value + " ("+System.getOb jectType(value) +")";
2. I also found this other example : Workflow failure monitor https://communities.vmware.com/docs/DOC-23862
I configured the attributes per the notes from Bobby, but when I run it it's not finding any "failed" workflows of which there are some.