PowerShell Version of Action Log Notify
Anyone else find that Action Log Notify can be a bit frustrating to configure especially when you want to try and do something clever like use a different email template depending on the Work Item type.
Here's a PowerShell based version which gives you super flexibility. I've chucked in a sample HTML email template but insert your own to match the rest of your notifications.
You can trigger it in any Automation platform, Orchestrator is nice and easy as it provides an OOB activity to Monitor for new Comments. You can set your runbook up like this.
And configure the Monitor Object like this
Don't forget to include the filter to only trigger on Non-Private comments!!!
Then add the attached PowerShell into the Run .Net Script and link the two by passing in the SCObjectGuid of the Comment into the first line of the PowerShell.
Hope you like this and find it helpful. Please post some examples of the cool html emails I know you guys will create for this.