---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/servicenow-platform

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Generate an assessment with the on-demand API

# Generate an assessment with the on-demand API {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

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

## Antes de Iniciar

Role required: assessment_admin or admin

## Por Que e Quando Desempenhar Esta Tarefa

## Procedimento

1. To generate an assessment, call the [AssessmentCreation
   API](https://www.servicenow.com/docs/access?context=c_AssessmentCreation&version=australia&pubname=australia-api-reference&ft:locale=en-US) 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.
   {#t_GenAssessmentOnDemandAPI__ul_unq_4ws_2r}
**Conceitos relacionados**   

* [Assessment generation](https://servicenow-prod.fluidtopics.net/nhr4olB4ycNyQzOgjIwb1Q "In the Assessments application, administrators or assessment administrators can trigger the system to generate scheduled assessments or on-demand assessments when all the prerequisite steps are completed.")
* [Scheduled assessments](https://servicenow-prod.fluidtopics.net/SELJVLRQvQKwW92BObboxw "The system generates a unique scheduled job for each metric type with the Schedule type field set to Scheduled.")
* [Assessment instances](https://servicenow-prod.fluidtopics.net/QJ3m4PJOlMhmiR01HPSKRA "An assessment instance represents one occurrence of a questionnaire assigned to one user.")  
**Tarefas relacionadas**   

* [Generate a scheduled assessment manually](https://servicenow-prod.fluidtopics.net/1ePrBlzywai0gijXls_vbQ "Administrators can generate scheduled assessments manually.")
* [Generate a vendor type assessment manually](https://servicenow-prod.fluidtopics.net/tOSeT6cJaf9Zb267uJJbSg "The Vendor Performance feature provides a direct method of generating assessments for the Vendor metric type.")
* [Set an assessment generation schedule](https://servicenow-prod.fluidtopics.net/Cb~4GwZeqW~tnvItrVxZiw "You can set assessment generation schedules. You must set a schedule for each metric type individually.")
* [View an assessment instance](https://servicenow-prod.fluidtopics.net/mg8jMefSkSA1gSYiLgMiaA "An assessment instance represents one occurrence of a questionnaire assigned to one user.")
* [Clean up assessment data](https://servicenow-prod.fluidtopics.net/VFMFhrA5cvEmo2d0FF31Dw "The assessment process generates a considerable amount of data, some of which is not useful after a short time.")

