Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Major incident checklist

Akshay Kumar3
Tera Contributor

I have a requirement that when an incident gets promoted to major incident, I need to create a section on incident form and need to show few information as mentioned in the attachment. Here the challenge is we are not supposed to create the custom fields on incident table.

Could we achieve this?

 

 

AkshayKumar3_0-1794377638287.png

 

1 ACCEPTED SOLUTION

HI @Akshay Kumar3 ,

Thanks for confirming.

Based on the constraints you mentioned:

  1. The data is not currently stored in ServiceNow.

  2. There is no integration to retrieve the data from the third-party system.

  3. Creating custom fields on the Incident table is not allowed.

Since the information you need to capture is more like a checklist, we can leverage the existing Checklist functionality in ServiceNow.

Proposed approach:

1.Open any incident record and Use form builder to add check list formatter to the form.

Rakesh_M_0-1794381886374.png

 

Rakesh_M_1-1794381928999.png

 

2.Open any Incident record, create a new checklist with the required questions, and save it as a checklist template.

Rakesh_M_2-1794382050034.png


3.Navigate to checklist_template.list and copy the sys_id of the created checklist template.

4.Now Create a BR to create a checkList when Major incident state changes to accepted.

Rakesh_M_3-1794382543507.png

script:

(function executeRule(current, previous /*null when async*/ ) {

    // Ensure you have the sys_id of the checklist template and your target record
    var templateSysId = '7a85262497a49b10f0b5bd0de053af44'; // Replace with your template sys_id (step-3)
    var targetTable = current.getTableName(); //  'incident'
    var targetRecordSysId = current.getUniqueValue(); // Target record sys_id

    // Call the OOB utility to create the checklist from the template
    var chkUtil = new ChecklistUtil();
    chkUtil.createChecklistFromTemplate(templateSysId, targetTable, targetRecordSysId);

})(current, previous);


5.Now, whenever an Incident is promoted to a Major Incident, the checklist will be automatically attached to the Incident.

Rakesh_M_4-1794383079745.png


Drawback: The Checklist formatter is not supported in Workspace, so the checklist will not be visible in the Workspace form.

 

View solution in original post

7 REPLIES 7

Rakesh_M
Mega Sage

Hi @Akshay Kumar3 ,

You mentioned that creating custom fields on the Incident table is not allowed.
I would like to clarify one thing: Does the information you want to display already exist in any of the existing fields on the Incident table?

If the required fields already exist, we can simply create a new section on the Incident form and add those existing fields to it, without creating any custom fields.

You can display the same fields in multiple sections on the form

Hi @Rakesh_M , these are the fields from a template and this form layout is belongs to the 3rd party system. And these fields are not available in Incident. Its something like question and answer as we have in ootb checklist

Hi @Akshay Kumar3 ,

If those fields are not available on the Incident table, where is the data currently stored in the ServiceNow instance?

You can display data in ServiceNow only if it is available somewhere in the instance or retrieved from the third-party system through an integration.

 
 

As of now, its not configured in servicenow and its a new requirement to achieve this on Incident form