What role is required for contact users to approve a record from CSM portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 12:34 AM
What role is required for contact users to approve a record from CSM portal, I was getting below error eventhough he is having approver_user role. could you please help me with this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 01:19 AM
Hi @RC8
While the approver_user role is necessary for the fundamental ability to approve records (it grants access to the sysapproval_approver table for records assigned to the user), it is not sufficient on its own for a Contact user operating through the CSM Portal.
Here's why and what's likely needed:
-
approver_user: Grants the basic rights to interact with approval records assigned to them. This is essential.
-
Portal Access & CSM Context: The user needs roles that allow them to:
-
Log in to the portal (snc_external is the base for this, usually added automatically).
-
Access the specific portal pages and widgets used for approvals within the CSM context.
-
Potentially view the underlying record being approved (e.g., the Case, Change, Request) via the portal.
-
-
Required CSM Roles for Contacts: The Contact user typically needs one of the primary CSM external roles, depending on your B2B/B2C model and relationship:
-
sn_customerservice.customer: The standard role for B2B customer contacts. This usually grants the necessary portal access, widget visibility, and ability to see associated records (like Cases for their Account).
-
sn_customerservice.consumer: The standard role for B2C consumers.
-
sn_customerservice.partner: For contacts belonging to Partner accounts.
-
Therefore, the Contact user typically needs a combination:
-
approver_user (for the approval capability)
-
sn_customerservice.customer (or .consumer or .partner - for portal access, CSM context, and visibility)
Troubleshooting Steps:
-
Verify User Type: Confirm the user is indeed a Contact (sn_customerservice_contact table) and not an internal fulfiller user (sys_user table with roles like itil).
-
Confirm CSM Role: Ensure the Contact has the appropriate CSM external role (sn_customerservice.customer, .consumer, or .partner). Add it if missing.
-
Check approver_user: Double-check the user definitely has the approver_user role assigned.
-
Check ACLs (Less Common): While the standard roles usually handle this, there's a small chance custom ACLs on sysapproval_approver or the record being approved (e.g., sn_customerservice_case) are interfering. Specifically, check the read ACLs required for the portal context.
-
Check Portal Page/Widget Security: Sometimes specific portal pages or widgets might have role restrictions applied. Check the properties/security settings for the "Approvals" page or widget in your CSM portal configuration. It should typically allow access for the relevant sn_customerservice.* role.
-
Impersonate: Impersonate the user and try to navigate to the approval via the CSM portal. Observe the exact error message or behaviour (e.g., can they see the approvals widget? Can they open the approval record? Does the error occur when clicking Approve/Reject?).
-
Licensing: Ensure the user is properly licensed as a customer contact if required by your ServiceNow subscription.
In summary, add the relevant sn_customerservice.customer (or equivalent) role to the contact user in addition to approver_user. That should resolve the error and allow them to approve via the CSM portal.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:17 AM
@Maik Skoddow were he able to see any other approval records other case records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:28 AM
Hi @RC8,
What type of records is the 'contact user' approving?
Eg: A contact can submit a 'self-registration request' from the customer portal with a registration code. A 'contact user' with the following roles can approve the request?
- sn_customerservice.customer_admin
- sn_customerservice.partner_admin
The type of record to approve will drive the roles required.
To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:38 AM
it is a quote record the approval is triggering to contact user through flow but to approve it from the portal i was getting above mentioned error