- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2014 09:01 PM
Hi - looking for some assistance.
I believe this is an easy issue which I just cannot get my text correct
I have my assignment group Reference Specification as:
- Use reference qualifier: Advanced
- Reference qual: javascript:new BackfillAssignmentGroup().BackfillAssignmentGroup()
The above means that if an "Assigned To:" person is entered and the ITIL user wants to see what Assignment groups they are a member of they get the correct list.
What I want to do is also have the Assignment Group limited to just those groups that start with "IT"
If I do a simple qualifier I get the code "nameSTARTSWITHIT^EQ"
However I cannot combine them into one string to both work
What I have tried (amongst other options):
- javascript:'new BackfillAssignmentGroup().BackfillAssignmentGroup()^'+nameSTARTSWITHIT^EQ()
- javascript:'new BackfillAssignmentGroup().BackfillAssignmentGroup()^'^nameSTARTSWITHIT^EQ()
Any ideas would be appreciated
cheers
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2014 02:24 PM
Sure. Try this:
javascript: var refQual = ''; if (current.assigned_to != '') {var usr = gs.getUser(); usr = usr.getUserByID(current.assigned_to); var grp = usr.getMyGroups().toArray(); refQual = 'sys_idIN' + grp.join()} refQual += '^nameSTARTSWITHit'; refQual;
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2014 02:51 PM
Thanks Slava - brilliant - exactly what I was looking for.
We deployed servicenow about 4 months ago and I have been developing for 4.5 months. I am a backup to the backup and project resource.
Much appreciated
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2014 04:30 PM
Great! I am happy I could actually help you out.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2016 02:22 AM
This is (almost!) exactly what I've been looking for!
- If I wanted to filter by groups of type 'Support' rather than groups starting with 'IT' how would I achieve this?
Any assistance appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2016 02:50 AM
Replace nameSTARTSWITHit with typeLIKEid where id is the sys_id of Support group type record in sys_user_group_type table.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2016 03:28 AM
Works perfectly, thank you very much.