What does SNC.AssessmentCreation().checkAssessmentAllowed do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 11:02 PM
Hi All,
Does anyone know what does SNC.AssessmentCreation().checkAssessmentAllowed do? Whether high level description or technical.
I'm facing an issue where a user is unable to take control attestations. I have debugged it and the cause seems to point to assessment_take2 ui page.
I also searched in ServiceNow official api reference and this method is not documented anywhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 11:39 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 11:41 PM
Neither of these resources cover the information requested from @Kirby R ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 11:49 PM
I've not been able to find any documentation. To recreate your issue, how is the user accessing the assessment, are they using a UI action on a form (what form?) or by a link? Can you provide some additional context?
Is the asmt_assessment_instance assigned to the user in question? or to a group they're a member of? Does the asmt_metric_type have any role or filter restrictions defined?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 12:04 AM
Hi @Kieran Anson ,
This is from ui action in asssement instance.
Upon clicking, i am shown this.
Additional context, user trying to take assessment is not the assigned to but is an admin. Metric type has certain role in it.
We are trying a customization to allow multiple users to take the assessment. I want to know what that function checkAssessmentAllowed does so that know what customization is needed(ie. modify that ui page, add roles to user, remove role to metric type etc).