Service Manager / Service Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Send notificati​on when changes are approved

SOLVED
Go to Solution
Regular Advisor

Send notificati​on when changes are approved

Hi

 

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?

 

regards

Gretar

6 REPLIES
Honored Contributor Honored Contributor

Re: Send notificati​on when changes are approved

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

Subgroup: approvers

 

Hope this helps.

Valued Contributor

Re: Send notificati​on when changes are approved

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.

Regular Advisor

Re: Send notificati​on when changes are approved

Hi

 

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

 

regards

Gretar

Highlighted
Honored Contributor Honored Contributor

Re: Send notificati​on when changes are approved

[ Edited ]

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.

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Regular Advisor

Re: Send notificati​on when changes are approved

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 :)

 

regards

Gretar

Valued Contributor

Re: Send notificati​on when changes are approved

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.