Create a payload for external third-party providers

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Create a payload for external third-party providers to send your work items to the external queue.

    始める前に

    Role required: admin

    手順

    1. On your ServiceNow instance, navigate to All > Advanced Work Assignment > Queues.
    2. Create a queue enabling External Routing.
      For more information about creating a queue with external routing, see Enable external routing for queues.
    3. Open the provider record, select the subflow that you created, and select Save.
      For more information about creating a subflow, see Create a subflow.Select subflow for external routing of the AWA queue item.
    4. In the External Event definition section, create a definition form or modify the existing demo data records by changing the provider name you created.
      図 : 1. Provider for External Routing
      Select the provider for your work item to be routed to the external queue.
      The payload script in the External event definition [awa_external_event_definition] table has the event type and payload information that you send to the third-party providers. Therefore, it is required for you to change all the events' provider to the provider you created.
      図 : 2. Payload for External Routing
      Payload script for the third-party provider.
      In the payload script:
      • current refers to the work item glideRecord associated with the queue. You can access all the workitem records from the glideRecord current.
      • queueObj is the glideRecord for the existing awa_queue record.
      • additionalParams refers to the parameters from the document table.
      注:
      Before saving the script, verify that you have the required data.
    5. Select Update.