when comment is added(req_item) send notification to assigned to but if empty send to group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 09:18 PM
Hello All,
I have requirement to trigger notification to assigned too when a additional comment is added to sc_req_item, But if assigned to field is empty then same notification should be triggered to sc_req_item assigned group.
Can you suggest me how to implement this case.
Thanks
Pramod Pandey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 11:03 PM
Create two notifications. Both the same, only on one the condition is 'assigned_to is empty' and on the other 'assigned_to is not empty'. Set the 'send to' accordingly. You could use a template or email script to update the content, so you can maintain that as one record, if needed.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 11:09 PM
yes its not working but shall i go ahead with client script on load
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 11:26 PM
What do you mean, not working? Can you share what you did and what is happening? Because this works in several client instances I work with.
What do you think of doing with an onLoad client script? You are talking about triggering notifications, what will an onLoad client script do? Are we even talking about the same?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 11:51 PM
Hi Pramod,
You can create 2 notifications with same content as Mark mentioned, below is the reference where you can put the conditions, you dont need to write script for this, just adjust the conditions.
Let me know if you have any further questions, Thanks!