human_resources TYPE is missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2023 04:35 AM
Hello.
I created PDI and activate HRSD plugins.
I try to do labs from HR module (foundation) and create HR groups.
All existing groups in PDI got "human_resources" type.
When I create a new group as "HR ADMIN" the type is always empty and even ADMIN is not able to edit it:
I'm not even able to add TYPE field in the form as admin - form gets "red".
TYPE is also not visible in XML from any group like "human_resources"
What is the issue with that? Doing labs get's complicated...
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2023 04:56 AM
Hi @Don Dom ,
If manually you are not able to add it u can try it from background script. You can use below code to do that
var gr = new GlideRecord('sys_user_group');
gr.addQuery('sys_id','enter sys id of the group record here');
gr.query();
if(gr.next()){
gr.type = 'enter sysid of the type which u want to populate the group with';
gr.update();
}
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 02:49 PM
Hi @Don Dom
The Type field isn't searchable from the list view. When creating a new group, you should be able to add one or more types from the selector (circled below). You need to click on the lock to unlock it, then select the types you want to apply.
Hope this helps.