Create universal request automatically for department tickets via other channels

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • Universal request is not automatically created when a fulfiller or employee creates a department ticket from channels other than the Service Portal or Virtual Agent topics. Create universal request automatically by adding the business rule to the specific service table, such as an Incident or a HR service.

    Vorbereitungen

    Role required: admin

    Warum und wann dieser Vorgang ausgeführt wird

    Create universal request automatically by adding the business rule to the specific service table, such as an Incident or a HR service. The universal request created is then automatically associated to the department ticket, such as an Incident or a HR case created in that table.
    You may want to automatically create universal request in the following scenarios.
    • To provide a consistent user experience when viewing the UR ticket.
    • Transfer the department ticket at any time, as UR is already associated with the ticket.
    • Use cross-departmental SLA/OLA reporting for the UR, the department ticket, and any other tasks associated with the parent UR.
    You can achieve this by using a business rule and the Universal Request API. For more information, see UniversalRequestUtilsSNC API.

    Follow the given steps to enable create universal request automatically from an interaction record.

    Prozedur

    1. Modify the UI action of the department ticket to pass the URL parameter that is retrieved from the client script.
    2. Create an AJAX script include to set the data in the glide session.
    3. Create an onSubmit() client script to fetch the URL parameter.
      For more information, see Client scripts.
    4. Set the URL parameter and the sys_id to the glide session using the AJAX script include.
    5. Create a before insert business rule on the department ticket and retrieve the data from the glide session.
      Business Rule to create UR from interaction
    6. Create universal request record using the UniversalRequestUtils API and attach the universal request to the task.