Highlighted
Micro Focus Expert
Micro Focus Expert
427 views

Change Approval notification not triggering

Hi All,

We are having HP Service Manager v9.41 , We are facing an issue for change approval notification.

We have created a Apprval Definition recrod where in the groups\Oper are either the groups or a specific operator returned through a javascript as shown below:

Approval DefinitionApproval DefinitionThe approvers are successfully getting attached to the Change request but approval notification is only triggering to members of Change Management group & Release Management group members only. 

"Requester Line Manager" , "Service Owner Approver" which are being mapped through JS in approval definition record are not getting notifcations.

Below are the screenshots of the Change Workflow where the approvals are mapped in Approval Phase under Approvals TAB:

WorkflowWorkflow

Have tried attaching the rule set in "Approval" phase under following TAB's (On Enter, After Successful enter, Initialization

Ruleset:

Rulset_1Rulset_1Rulset_2Rulset_2NotificationNotification

Please Suggest

Thanks In Advance

Neo

 

0 Likes
5 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Change Approval notification not triggering

Any hints/Ideas ???

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Change Approval notification not triggering

Any Hints Guys,

Badly needed!!!

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Change Approval notification not triggering

When all else fails, do a RTM:3, debugdbquery:999 trace. 🙂

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Change Approval notification not triggering

Hello @NeoJax, as a workaround, have you considered skipping a notification record and use HTML Email ruleset instead to send emails? You seem to retrieve approvers by using JS anyway, so it should be doable?

I've not used cm3groups for ages so I don't have a recent experience how it works.

---
Moving on, this account is no longer active. Best regards, Kelalek
- So Long, and Thanks for All the Fish
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Change Approval notification not triggering

Just remembered: tt's also possible to put a jscall call into "Recipient(s)", which means list of recipients is prepared by a JS function. An OOB example:

jscall("NotificationRecipientsHelp.getRelatedChangeOwnerByChangeID", parent.change in $L.file)

Using jscall in a notification is a handy way to check if the notification is run at all - just add a following phrase into your JS script and you see from the sm.log (or whatever your log file name is) if notification works.

system.functions.log("I'm alive - notification xyz");

Of course, you can add the list of recipients to your log print as well to see if it works as intended.

---
Moving on, this account is no longer active. Best regards, Kelalek
- So Long, and Thanks for All the Fish
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.