Customizing Likelihood and Severity as Choice Fields in a Risk Tracker
For a specific risk assessment, in a risk tracker you can create custom fields for likelihood and severity in a risk tracker. The following example describes how to calculate risk before and after the mitigation using
Computed Fields.
Creating Custom Choice Fields for Likelihood and Severity
Follow the steps given below to create a choice field for likelihood and severity:
1. Create a custom likelihood choice field:
a. Open the configuration of a risk tracker, and then click the Fields tab.
b. Scroll to the bottom of the page, and then click > .
c. Provide a name for the field, such as LikelihoodChoice, and then click OK.
2. Create a custom severity choice field:
a. Click > .
b. Enter a name for the field, such as SeverityChoice, and then click OK.
c. On the Fields tab, click Save. The new custom choice fields are created.
3. Assign the options to the custom fields:
a. In the Layout and Content column of the LikelihoodChoice field, click Options.
b. Add the options in the Options window. Consider the following requirements:
▪ The ID of each option must be the selectable severity value.
▪ The name of each option must align with its value. For example: Id: 1: value 1, Id: 2: value 2, and so on.
c. Follow the same process to add the options to the SeverityChoice field.
d. On the Fields tab, click Save. The custom options are saved.
4. Set the computed expression for the Risk field:
a. Select the Show property name checkbox.
b. Identify and note down the property names of the LikelihoodChoice and the SeverityChoice fields. For example, you may see the following values: LikelihoodChoice: choiceList[2] and SeverityChoice: choiceList[3].
c. Click Risk in the Label column.
d. Click the text box next to Computed as.
e. Modify the expression as required, using the property names of the fields. For example:
(empty choiceList[2] ? 0 : choiceList[2][0].id) * (empty choiceList[3] ? 0 : choiceList[3][0].id)
f. Click OK.
g. On the Fields tab, click Save. The custom expression is now saved.
Creating Custom Choice Fields After Mitigation
To create custom fields for the likelihood after mitigation and the severity after mitigation, follow the process described in
Creating Custom Choice Fields for Likelihood and Severity. At the end of the setup, you have values similar to the following:
• Label: LikelihoodAMChoice with Property: choiceList[4].
• Label: SeverityAMChoice with Property: choiceList[5].
Compute LikelihoodAMChoice and SeverityAMChoice in a field such as Risk after reduction using the following expression:
(empty choiceList[4] ? 0 : choiceList[4][0].id) * (empty choiceList[5] ? 0 : choiceList[5][0].id)