Blog

Extend GRC Controls and Risk to the Task Table

In the IT GRC application, grc_risk and grc_control tables are not extended off the task table. This causes an issue for some implementations, as the Approvals Related List and Approvals Reference Field are not available.

How do you extend those tables (grc_risk and grc_control) to the task table? Or what are the steps to add the Approvals Related List and Approvals Reference field to those tables?

You don't have to recreate approval functionality from the task table to get approval functionality. You can extend those tables off task to get Approvals.

Extend GRC Risk to Task Table

1. Run Script (Scripts – Background)

//Extend GRC Risk to Task table
var table = 'grc_risk';
var old_parent = ''; 
var new_parent = 'task'; 

var changer = new GlideTableParentChange(table);
changer.change(old_parent, new_parent);

2. Add Approval Field to GRC Risk Form

2approvalcontroltorisk.jpg

3. Add Approvers Related List to GRC Risk Form

approvalrlrisk.PNG

4. Results

4Results.jpg

 

Extend GRC Control to Task Table

1. Run Script (Scripts – Background)

//Extend GRC Control to Task table
var table = 'grc_control';
var old_parent = ''; 
var new_parent = 'task';
var changer = new GlideTableParentChange(table);
changer.change(old_parent, new_parent);

2. Add Approval Field to GRC Control Form
2approvalcontroltocontrol.jpg

3. Add Approvers Related List

3approvalrltocontrol.jpg

4. Results

4ControlResults.jpg