Generate an assessment with the on-demand API

task brazil Updated Sep 10, 2026 1 min read t_GenAssessmentOnDemandAPI.md
Raw file servicenow.com

The Assign Assessment buttons call an API to generate on-demand assessments.

Before you begin

Role required: assessment_admin or admin

About this task

Procedure

  1. To generate an assessment, call the AssessmentCreation API from any script in the system, such as a business rule or client script.

  2. Use the sys_ids of these items:

    • An assessable record to evaluate. The assessable record must be associated with an on-demand type and at least one category that contains non-scripted metrics.
    • One or more users who should perform the assessment. The API generates a questionnaire about the specified assessable record for each user.

Parent Topic:On-demand assessments

Related topics

Assessment generation

Scheduled assessments

Generate a scheduled assessment manually

Generate a vendor type assessment manually

Set an assessment generation schedule

Assessment instances

View an assessment instance

Clean up assessment data

Search documentation
Search document titles and file paths on the brazil branch