logo

NJP

BUG FIX: Solution to error message received when trying to generate PDF for BIAs in BCM Workspace

Import · Nov 26, 2021 · article

When upgrading the GRC: Business Impact Analysis plugin to version 2.2.2 released on the 18th of November, one of the new features is the ability to generate BIA PDF. But, OOTB doesn't work. I tried it out in one of our company demo instances and in a PDI, both with all the recent updates, and it didn't work in any of them.

Below, I have created step-by-step instructions on how to fix this with the use of cross-scope access privileges. There might be multiple ways to fix it, but this is how I did it, and it worked.

The following error message is received when trying to generate the BIA PDF:

image

Step 1

  • Navigate to System Applications > Application Cross-Scope Access > New
  • A new record modal form with the name “Cross Scope Privilege” is now open.
  • Fill out the form as described in step 2

Step 2

  • Source Scope: Document Templates
  • Target Scope: GRC: Business Impact Analysis -
  • Target Name: sn_doc_template
  • Target Type: Table
  • Application: Document Templates
  • Operation: Read
  • Status: Allowed

Save the record and go back to the list view.

Step 3

In the list view, locate the record created in step 2.

Do not click the info icon to preview, but in the column Source Scope, click on Document Templates.

You will now automatically be sent to the Store Application for Document Templates.

On top of the Document Templates record, a red warning banner is present with the following message:

image

“Click here” is a link that sends you to the next step.

Step 4

After clicking on the link in the warning banner, you will be sent to a new page for Restricted Caller Access Privileges. A filter is already set for the list that you are viewing.

Locate the record we created in Step 2 in this list view and open the record.

Make sure the record matches what you can see below:

  • Source Scope: GRC: Business Impact Analysis
  • Source type: Script Include [sys_script_include]
  • Source: Script Include: GenerateBiaPdfUtilBase
  • Status: Allowed
  • Target Scope: Document Templates
  • Target Type: Table: Document Template
  • Operation: Read

Click the Update button to save the changes.

Step 5

Navigate to the Business Continuity Workspace, either open an existing BIA or create a new one.

Click the “Generate PDF” button, and a PDF will be generated that can be downloaded.

View original source

https://www.servicenow.com/community/grc-articles/bug-fix-solution-to-error-message-received-when-trying-to/ta-p/2306458