Background script : issue with the HR role assignment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2025 09:08 AM - edited ‎05-11-2025 09:56 PM
Hello Experts,
Post cloning i am trying to assign roles to the parent group through post clone script which will trigger the schedule job but i am facing the below issue.
Schedule Job (Tried execution in Background Script):
Errors :
RoleAccessHandler: User abc does not have the role 'sn_esign.config_manager' which is required to grant/remove 'sn_esign.config_manager' under application administration, Resource: 'record/sys_group_has_role/create'
*** Script: Post Clone Activities completed.
Please help or suggest any approach which i can try.
Thanks.
- Labels:
-
Tokyo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2025 07:49 AM
@Abc 26 I don't think we can do that.
The user profile must have user_admin role / admin role to manage groups.
So, first add either user_admin or admin role to HR Admin user. Then try to execute your logic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2025 11:12 PM