Discussion
Roche
AU
Last activity: 12 Jun 2018 10:20 EDT
Email notification on assignment to workbasket
Similar to how individual operators can enable Email Notifications on assignment, is there a general way that Email Notifications can be generated when work is assigned to a Workbasket ?
Preferably, this would be to a nominated email address, not necessarily all members of a Workgroup.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Services Australia
AU
Hi Jamie,
There is no OOTB feature to do so. Couple of approaches I can think off to acheive this
Approach 1:
Simply add an utility shape in front of the assignment to execute CorrNew activity to send out an email to nominated email address.
Pros: Easy to implement
Cons: If the email needs to include link to Assignment, we cannot do it. However we can include link to Work Object which opens review harness. If this is not an issue, you can think off implementing this solution.
Approach 2:
Extend Assign-AddAssign activity to additionally execute CorrNew activity to send out email conditionally based on WorkBasket Name.
Pros: Can include link to assignmenty, upon clicking Work Object would be opened in Perform mode.
Cons: Extending OOTB activities comes with risk of maintainence while upgrading the Pega versions.
May be we should raise an Enhancement Request for this :)
Regards,
-Vamshi
Pegasystems Inc.
SG
In the Workbasket tab, you can set the Contacts. The first contact is notified when you use the Work-.NotifyAssignee standard notify activity. The Work-NotifyAllAssignees activity will notify all the email contacts.
Pegasystems Inc.
SG
I tested this out in an assignment shape routed to a Workbasket.
I set the Notification to "NotifyAssignee" and only filled in the Subject and CorrName. An email is sent to the first contact in the Workbasket's Contact list.
When I chose "NotifyAllAssignee", all contacts received notification.
Services Australia
AU
Hi CHAUT,
I stand corrected. You are right NotifyAssginee works. I got confused by looking to Assign- getContact activity. However there is a overriden version of it in Assign-Workbasket class, which I missed out.
Vamshi
Pegasystems Inc.
SG
Yes. Now, the problem is if I want to notify the 2nd or 4th contact on the Contact list, then I may need to extend it and write my own notify activity. :-)
Services Australia
AU
True. Instead of reading from Workbasket contact list, there should be some kind of delegate rule to maintain list of email addresses for identified work basket
Vamshi
Roche
AU
Thanks all for your comments