Update the contracts AI agents handler script include

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • Update the ContractsAIAgentsHelper script include to add the sys_id of a customized Manage contract repository agentic workflow to run the agentic workflow autonomously.

    Vorbereitungen

    Role required: admin

    Warum und wann dieser Vorgang ausgeführt wird

    When you duplicate the Manage contract repository agentic workflow and create a customized agentic workflow, you must add the sys_id of the new agentic workflow in the ContractsAIAgentsHelper script include to run the agentic workflow autonomously.

    Prozedur

    1. Navigate to All > System Definition > Script Includes.
      The Script Includes table appears.
    2. In the Name column, search for ContractsAIAgentsHelperSNC.
    3. Open ContractsAIAgentsHelperSNC.
    4. In the Script box, copy the startAiAgentConversation() method.
      Abbildung : 1. Script include for agentic workflow
      Script include for agentic workflow in CM Pro.
    5. Navigate back to the Script Include table.
    6. In the Name column, search for ContractsAIAgentsHelper.
    7. Open ContractsAIAgentsHelper.
    8. In the Script box, paste the startAiAgentConversation() method.
    9. In usecaseId, add the sys_id of the new agentic workflow.
      You can copy the sys_id of the new agentic workflow from the Use case [sn_aia_usecase] table.
    10. Select Update.

    Ergebnisse

    The customized Manage contract repository agentic workflow runs autonomously when all the trigger conditions are met.

    For more information, see Manage contract repository agentic workflow.