When the advanced condition consists of just commented code, the email notification will not trigger. With only a simple comment, and nothing else, the advanced condition is evaluated to false.


Steps to Reproduce

  1. Create a notification. e.g. On the incident table
    2. On the notification advanced condition add a comment:
    e.g. // testing comment on advance condition
    3. Trigger the notification

    You will see that the notification does not trigger or execute.


After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make these decisions lightly, and we apologize for any inconvenience. 

As a workaround, if there is not code on the advance condition, remove all the comments from it, leaving it blankAdvanced conditions scripts return the last operation's result. Ensure the script returns TRUE as required.

 See also related PRB925562/KB0623384 - Email notification with Advanced condition with last statement gs.log call will not execute

Related Problem: PRB704806

Seen In

Geneva Patch 5

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:40:49