End-of-Life (EoL)

Add a Script to the Incident Layout

incidents General Purpose Dynamic section types layoutBuilder
You can add automation script-based content to the
Incident Info
tab, by adding the
General Purpose Dynamic Section
in the incident layout builder.
The
General Purpose Dynamic Section
enables you to configure a section in the
Incident Info
tab from an automation script. The automation can return a simple text, markdown, or an HTML, the results of which appear in
General Purpose Dynamic Section
.
You can add any required information from an automation. For example, you can assign a script that calculates the total number of entries that exist for an incident, and it dynamically updates when new entries are added to the incident. You can also Add a Custom Widget to the Incident page and Add Note Information Using an Automation Script.
Before you begin, you need to create an automation script.
  1. Select the incident type or layout you want to add to the General Purpose Dynamic Section by completing steps 1 or 2 in Customize Incident Layouts.
  2. Drag and drop the
    General Purpose Dynamic Section
    into the layout area you want to appear.
  3. Select the General Purpose Dynamic Section, click and then click
    Edit section settings
    .
  4. In the
    Name
    and
    Description
    fields, add a meaningful name and a description for the dynamic section that explains what the script displays.
  5. In the
    Automation script
    field, from the drop down list, select the script that returns data for the dynamic section.
    Only automations to which you have added the
    dynamic-section
    tag appear in the drop down list.
  6. Click
    OK
    .

Recommended For You