04-27-2012 05:50 AM
I have been trying to customize the notification settings to send initiator and coordinator email when changes are approved but without success. I have enabled "ChM Change Approval" with true condition and "ChM Change Update" with approval.status="approved" condition but no emails are sent. How can I configure the notifications to send emails for approved changes?
Solved! Go to Solution.
04-27-2012 06:54 AM
In my notification, ChM Change Approval, I check the current.pending.groups array...
Condition: lng(denull(current.pending.groups in $L.file))=0
I'll send an email to the assigned.to and the coordinator.
That way it sends the email out when all the approvals have been done.
Befor all the changes are done, in the same notification, I do the following:
Condition: lng(current.pending.groups in $L.file)>0
Recipient: current.pending.groups in $L.file
Group File: cm3groups
Group Area: All
Hope this helps.
04-27-2012 07:00 AM
I was able to do this using the notification with the ID of ChM Change Update_2. Check the condition on the notification itself, check the condition on the individual notification line, and check that you're not the initiator and coordinator (I know that sometimes notifications won't go out if you're the one taking the action).
I've attached a screenshot of my notification configuration.
04-27-2012 08:23 AM
Thanks for your comments :)
The misstake I did was to have my operator id as the receipient of the notification for testing. After I changed it to coordinator in $L.file for either my operator or other it worked. I used the notification "ChM Change Update_2" for this and set same condition as you.
Thanks for you help
04-27-2012 11:23 AM - edited 04-27-2012 01:43 PM
Actually, the best practice method for this is to use the ChM Change Final Approval notification definition.
This notification record is called once the aprpoval.status of the change is set to "approved".
ChM Change Final Denial -- notification definition called when the approval.status of the change is set to "denied"
ChM Change Approval -- called when any approval occurs, even if additional approvals are pending.
ChM Change Denial -- called when any Denial occurs, even if status is still pending.
If you look at the cm3r Object record, approvals tab, you can see where these are defined.
04-30-2012 02:34 AM
Thanks for you info. I wasn't aware of the events which triggers these notifications. I have tried the notification ChM Change Final Approval with condition true and it works for changes being approved.
Thanks very much for your help :)
04-30-2012 07:01 AM
Thanks for the info John. Would you happen to know where I could find a true list of the OOB notifications that are turned on when I first install the product? That's a very common question I get from clients. I've looked in the HP help server documentation, but it doesn't seem complete. For example, it doesn't have the final denial and final approval definitions you listed.