Post Incident Review not generated into PDF after SIR has been closed.

joel_tan1991
Kilo Contributor

I have an issue with my PIR not being generated into a PDF file and attaches itself into the SIR form once the state has been closed. 

The OOB BR "Generate PIR PDF" was set to inactive by default and I was still able to generate out a PDF.  I have done several scenarios including filling in the questionnaire completely and closing the SIR without filling in the PIR. Both are able to generate a PDF with no issue.

The only configuration I have done in the OOB instance is to change the PIR to non-mandatory when closing the SIR. I have done the same on my other instance but wasn't able to generate out the PDF. I have done similar approach in filling out the PIR. Sometimes I am able to generate and sometimes it doesnt. 

Am I missing out on something?

1 ACCEPTED SOLUTION

I found a London instance and it still works for me.

 

Look for Business Rule: "Store assignee" and make sure it is still active. Also, the updated date on this file is 12015-04-08 23:35:39.

 

View solution in original post

9 REPLIES 9

Jon Williams
ServiceNow Employee
ServiceNow Employee

Hi Joel,

What release are you running into these issues with? After looking into this I found that the "Generate PIR PDF" BR appears to be deprecated which is why it is no longer active OOB. There is a newer BR "Generate PIR when in Review and Close" which has the same line of script that was included in the "Generate PIR PDF" to generate and attach the PDF. 

As for the change to the PIR to non-mandatory, how did you go about this? In addition to the "Generate PIR when in Review and Close" BR there are also a few different BR's (listed below) that handle whether a PIR is mandatory, whether it must be completed etc. It's possible that your change to making the PIR non-mandatory may be effecting the the execution of some of these BR's.

The "Require Assessments to be Complete" BR runs on BEFORE when the Security Incident State changes to "Closed" and the PIR Respondent is "Not Empty". If those conditions are met then it will check to see if PIR has been completed, and if it hasn't been it sets the State to "Review" and throws the info message "All post incident review assessments must be completed before closing this security incident."

 

 

Assessment Business Rules:

Auto Assessment Business Rule

Auto Deletion Rule for Assessments

Handle Assessments

Handle Assessments Setup

Require Assessments to be Complete

Hi Jon,

Thanks for the response. 

Just found a little error in my previous post. Only 1 of my instance is able to constantly generate out and attach the PDF into the Security Incident form upon closure. The second instance for some reason doesn't.

As for the change to the PIR to non-mandatory, how did you go about this? I have went to disable this BR. Didn't went to mess the script.

I have tried to enable the "Require assessments to be complete" BR. The PIR was generated when the state was changed to Review but it will not generate out a PDF and attach itself into the form.

Details of my instances are as follow:

Build name: Kingston
Build date: 05-24-2018_1317
Build tag: glide-kingston-10-17-2017__patch6-05-16-2018

find_real_file.png

find_real_file.png

I've tried creating and closing twice while completing the PIR. However, only 1 of the SIR generated the PDF.

Bel_n Dom_nguez
Giga Contributor

Hello,

 

I have the same problem here.

One if my dev instances is not generating the post review pdf anymore.... I did not change any OOTB BR so I don'y know what is happening.

 

Did you finally solve the problem?

 

Thank you!

Belen,

 

What version are you on?