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

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.

 

Tanushree Maiti
Tera Patron

Hi @Akshay Kumar3 

 

If the required custom fields are not already available in the incident, you will need to create them to achieve your use case.  

Please ensure that the newly created fields are placed in the appropriate section where they are expected.

 

Without customization or with OOB features of incident you can not achieve it.

 

Mark Manders
Tera Patron

We need to add information to the form in separate fields, but we can't create the fields. 

Then you will have to answer two questions:
1. Why do you need the information on the form?

2. Why aren't you allowed to create the custom fields? 

 

And then you take those answers to the decision maker and ask him which answer wins. Either you don't put the information on the form, or you create the custom fiels.