- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 06:49 AM
I am trying to create a notification while there is an update on the attachment custom table,
Under when to send I am adding the condition
But the notification is not triggering even if the user has snc_internal role.
Is there any limitation on dot walking the field?
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 05:14 AM
I suspect it's one of those situations where "role" on the user table is special and not behaving like a normal field.
In the Notification, click the Advanced view link.
and in the advanced condition field, create a script that checks if the user has a specific role by doing a GlideRecord query on sys_user_has_role. This box should return a true or false.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 06:57 AM
What table is this notification triggering on?
Have you tried "contains" (if it is available in the middle drop down)? It could be that roles has multiple values in it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 11:44 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 05:14 AM
I suspect it's one of those situations where "role" on the user table is special and not behaving like a normal field.
In the Notification, click the Advanced view link.
and in the advanced condition field, create a script that checks if the user has a specific role by doing a GlideRecord query on sys_user_has_role. This box should return a true or false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 05:58 AM
Thanks Chuck,
I have queried the role table and set answer=true, and now the notification is working fine.