Notification for usergroup when all approvers have approved

Hi,

We’d like to add a usergroup to the list of users notified when a change is approved by all users instead of just $changeanalyst, $originator.

I have created an event for this, but the problem is that the usergroup is getting notified when EVERY user approvers, not just when ALL the users have approved.

Here’s how I set it up:

I copied the  ‘Change Orders – All Change Approvers Have Approved’ to a new name ‘All CO Approvers have approved’

In the To box I have $CHANGEANALYST;$ORIGINATOR;Change Analyst

(Change Analyst is a usergroup with 4 users in it)

In Event management, I created an event:

Event type:  Approve for Workflow

Name: All Users have Approved CO

Workflow: CO

Object type: CO

I created Event Subscriber:

Name: Notify when CO is fully approved

Event: All Users have Approved CO

Event handler:  Change Orders – All CO Approvers have approved

Handler type: Notification

Trigger type: Post

Execution mode: Asynchronous

Everything is enabled and seems to be working. Like I said the usergroup called Change Analyst is getting notified when each user approves, not just when all have approved.

Can you let me know if I did something wrong in the event management?

 

Thank you,

Laura

 

 

 

 

 

Agile User Asked on September 5, 2019 in Product Collaboration.
Add Comment
4 Answer(s)

There is already a system notification “Change Orders – All Change Approvers Have Approved” that goes to the change analyst when all approvers at a step have approved. You can also create a dashboard that shows changes that are at step and not waiting for any more approvals.

Agile Angel Answered on September 5, 2019.
Add Comment

Hi Steve,

‘We’d like to add a usergroup to the list of users notified when a change is approved by all users instead of just $changeanalyst, $originator.’

We already have the workflow set to notify the $changeanalyst and $originator but we want a usergroup called ‘change analyst’ (it contains all the change analysts for the company) to be notified when the change is completely approved so that whoever is open can take up next steps and move it to Released.

We’d really prefer email notifications to all the change analysts, but I will also set up a dashboard that shows the changes that are all approved.  Thats a great idea.

Thanks,

Laura

 

Agile User Answered on September 5, 2019.

It sounds like you would have to go down the  path of a PX on Approve that checks if all reviewers have approved then sends a custom notification. You really want to go down this custom path vs a dashboard as the change analyst home page–no customizations.

on September 6, 2019.
Add Comment

Hello

Approve for workflow will trigger whenever someone approves and hence you are seeing multiple emails

You would need a custom event for this. Basically, it needs to check if the last reviewer has approved and send this notification. We had a similar requirement and this is how we achieved it

– Raj

 

 

Agile Angel Answered on September 5, 2019.
Add Comment

Hi Raj,

Thank you for that information. Is there any documentation online on how to create that custom event type for this notification?

I haven’t created any custom PXs or events but I’d love to learn how. I’d appreciate any recommendations you have for training in this area.

 

Thank you,

Laura

Agile User Answered on September 6, 2019.

Hi Laura

Here is a link to the documentation for building custom events

https://docs.oracle.com/cd/E83928_04/otn/pdf/integration/agaaq.pdf

this is for 9.3.6, but the events doc hasn’t changed much and so should work for any 9.3.x. Chapter 5 talks in detail on how you can get up and running on custom events

– Raj

on September 7, 2019.

Thank you so much!

 

Laura

on September 9, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.