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
- 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.
As a workaround, if there is not code on the advance condition, remove all the comments from it, leaving it blank. Advanced conditions scripts return the last operation's result. Ensure the script returns TRUE as required.
Related Problem: PRB704806