Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Trigger assessments from a script

Use a script to execute the Trigger Smart Assessment flow action to generate Smart Assessment Engine assessments and assign them to the assessors.

Before you begin

Role required: flow_designer

About this task

In the script, you specify the assessment template for the generated assessments and the conditions that trigger the assessments.

Procedure

  1. Navigate to All > Process Automation > Workflow Studio.

  2. On the Actions tab, select Trigger Smart Assessment.

  3. In the More actions menu icon

Image omitted: more-actions-menu.png
,select **Create code snippet**, and then copy and paste the snippet into your script.

Result

Note: In the snippet, you have the option to specify whether the action should execute synchronously or asynchronously. Select the asynchronous option to help avoid stalling, especially when processing large templates.

The call to the Trigger Smart Assessment action is now part of the script.

What to do next

Specify the required and optional input settings for the action. The settings are defined on the Trigger Smart Assessment action form and are described in Trigger Smart Assessment action form.

Related topics

Flow Designer