Customization of Recovery time objective assessment (Business Continuity Workspace)

Vinnnnn
Tera Contributor

Hi all,
I am working on the implementation of the Business Continuity Management module. I have two requirements to fulfill regarding Business Impact Analysis (BIA):

 

1) change the question prefix contained within the Recovery time objective assessment section, replacing "What is disruption duration of" with "Impact" (Path: Business Impact Analysis > Assessments > Recovery time objective assessment):

Vinnnnn_0-1702309775613.png

 

To achieve this, I tried changing the QUESTION_PREFIX variable defined in the "getRatingBaseQuestions" function contained in the include script "CategoryImpactAssessmentBase," but it did not work. Do you have any recommendations?

 

2) Make the values of the selectable "disruption_duration" within the Impact rating with value N be equal to or greater than that selected in the Impact rating with value N-1. Could you advise me how to modify the "filterDisruptionDuration" function contained in the include script "BIAFilterUtilBase" in order to achieve this?
I report the function below:

 

 

 

    filterDisruptionDuration: function(current) {
        var query = '';
        var table = current.getTableName();
        var sysId = current.getUniqueValue();
        var categoryResults = current.category_result;
        if (!categoryResults) {
            this.logger.warn('"category_result" is invalid field for ' + table);

            return query;
        }

        var categoryResultsRecord = categoryResults.getRefRecord();
        if (!categoryResultsRecord.isValidRecord()) {
            this.logger.warn('Invalid Category result for ' + table + ' (' + sysId + ') ');

            return query;
        }

        var impactCategoryRecord = categoryResults.impact_category.getRefRecord();
        if (!impactCategoryRecord.isValidRecord()) {
            this.logger.warn('Invalid Impact category for ' + table + ' (' + sysId + ') ');

            return query;
        }

        return 'sys_idIN' + impactCategoryRecord.getValue('applicable_timeframes');

    },

 

 

 

Thanks in advance to all.

1 REPLY 1

Sangeetha Naga1
Tera Contributor

Hi @Vinnnnn
I have a similar kind of requirement to modify the existing RTO question. Can you pls help me with your suggestion on how did you manage to edit these questions? 

Thanks in advance!!
Sangeetha Nagamanickam