- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2018 09:10 AM
We have a Notification that will send if conditions are:
- Active is True
- Assigned_to is not empty
- Work Notes changes
We have been asked to modify these conditions and suppress the Notification from sending if the recently added work notes contain a specif phrase that is entered by a integration.
I'm testing the possibility as seen in the image below, but I cannot prevent the notification from sending. I suspect the Advanced Condition is not entered correctly. Any suggestions?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2018 05:32 AM
I believe I have something for you. Try:
var worknote = current.work_notes.getJournalEntry(1);
if (worknote.toLowerCase.indexOf("Case record TCN Integration") > -1) {
answer = false;
}
We needed to grab the last work note first, then check for the phrase.
Try that!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2018 05:32 AM
I believe I have something for you. Try:
var worknote = current.work_notes.getJournalEntry(1);
if (worknote.toLowerCase.indexOf("Case record TCN Integration") > -1) {
answer = false;
}
We needed to grab the last work note first, then check for the phrase.
Try that!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2018 07:10 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2018 07:13 AM
Nicely done! Glad you got it working!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!