Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 07:33 AM
How can this issue be resolved if I choose caller "Sean Bonnet" and assignment group "CAB Approval" such that "Sean Bonnet" is not shown in the assign to field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 12:37 PM
If you simply want to restrict the Assigned to field so that it can never be the same as the Caller, update your Reference qualifier on the Dictionary Override for this table (incident or whatever). If you have something existing like
roles=itil... put that in quotes and add ^sys_id!=' + current.caller_id with a javascript prefix, so it looks something like this
If you only want to restrict this when the Assignment group is a certain value, you can try to add this in an if condition in this string, or call a Script Include to do the filtering if it gets too complicated.