when comment is added(req_item) send notification to assigned to but if empty send to group

Pramod Pandey2
Tera Contributor

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

4 REPLIES 4

Mark Manders
Mega Patron

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

tGhadage
Tera Contributor

yes its not working but shall i go ahead with client script on load

Mark Manders
Mega Patron

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

Trupti94
Tera Guru

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.

 

Trupti94_0-1720075875430.png

Let me know if you have any further questions, Thanks!