Email notification should trigger when add comments changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 06:33 AM
Hello Folks,
Good Day!
I was stucked with a requirement, when someone entered any value in the additional comments in catalog task i need send an email notification with the details what they have been entered.
Tried with Notifications and BR's can achieve this one..
I will desperately need someone to assist me in this issue..
Any assistance would be appreciated!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 04:25 AM
Hi @dmahendran ,
1)Change the Business Rule Type form After to Before BR.
2) Check you are following all the steps Event name should be called in Notification and BR eventqueue.
3)Check if the requested for have valid email, also check email outbound notifications are enabled in your instance.
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 04:57 AM
Its working in my pdi follow steps as below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 12:39 AM
@Anand Kumar P
It is working in my PDI, but not in my project instance. Additionally, no emails were triggered when additional comments were added.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 02:39 AM
Hi @dmahendran ,
follow below steps:
1. Create one br and add below condition
current.additional_comments.changes() && current.additional_comments != ''
2. create one event based notification and add the subject line and mail body as per your requirements.
3. In your br use below script.
gs.eventQueue('catalog.task.comment.update', current, current.sys_id, current.additional_comments);
4. in email body use below
Comment:
${event.param2}
Accept and like the solution if it helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 12:40 AM
@Runjay Patel Appreciated for the response, tried this before, but still the issue persists.