Debug Virtual Agent Bot Interconnect with a ServiceNow Virtual Agent secondary bot

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Debug Workflow Studio executions of your Virtual Agent Bot Interconnect and Virtual Agent secondary bot integration.

    始める前に

    Enable the following system properties:
    • sn_va_bot_ic.bot_interconnect.enable.logging = true
    • glide.outbound_http_log.override = true
    • glide.outbound_http_log.override.level = all
    For more information, see Add a system property.

    Role required: admin

    手順

    1. In the Bot Interconnect instance, modify the shell topic you created in Virtual Agent:
      1. Navigate to All > Conversational Interfaces > Virtual Agent > Designer.
      2. Open the shell topic you created in a previous step.
      3. On the Flow tab, select the Bot Interconnect Topic Block.
      4. In the Additional Params (String) field, select the Script icon Script icon., and then add the following code:
        (function execute() {
          return JSON.stringify({quick: false}); 
        })()
      5. Select Save.
      6. Save the topic.
    2. Enable execution context debugging in Workflow Studio.
      1. Navigate to All > Process Automation > Process Automation Designer > Flow Administration > Settings.
      2. On the Settings page, select New.
      3. In the Flow/Subflow/Action field, select the Search icon Search icon..
      4. On the Select the document form, fill in the fields.
        Add the following Flow Designer document settings if your secondary bot is in synchronous mode.
        Document setting for the primary bot in Workflow Studio if secondary bot is synchronous. Table name is Flow, and Document is VA API Bot Interconnect Integration Handler. Document setting for the primary bot in Workflow Studio if secondary bot is synchronous. Table name is Action Type, and Document is Bot Interconnect Sync Integration Handler.
        Add the following Flow Designer document settings if your secondary bot is in asynchronous mode.
        Document setting for the primary bot in Workflow Studio if secondary bot is synchronous. Table name is Flow, and Document is VA API Bot Interconnect Integration Handler. Document setting for the primary bot in Workflow Studio if secondary bot is asynchronous. Document setting for the primary bot in Workflow Studio if secondary bot is synchronous. Table name is Action Type, and Document is Bot Interconnect Sync Integration Handler.
      5. Select Ok.
      6. In the Reporting field, select Developer Trace.
      7. Select Submit.

    タスクの結果

    You can view additional logs and Workflow Studio executions for debugging purposes.