Set up a change risk assessment
Build a weighted risk questionnaire for changes, score its answers and set the thresholds that turn a score into a change's Risk value.
Set up a change risk assessment when you want a change’s Risk to come from a questionnaire instead of a guess. The agent answers weighted questions from the change form and the total score sets the risk.
Before you begin
- You need the
administratorrole, because the assessment uses a record generation script. - Know how catalog items and their questions work. A risk assessment item is built the same way. See Catalog item fields.
- Find the records under ITSM → Risk. Each step below names the menu item to open.
- Decide your questions, the weighting of each question and the score of each answer. The example under Result shows how they combine.
Steps
-
Open ITSM → Risk → Risk assessment items and create an item, or copy the default example. You can make the example inactive once you have your own.

The Risk menu under ITSM, with Risk assessment items and the other risk records. -
Set a Key that reads well in a script, because the risk assessment button refers to the item by its key. Set the table to Risk assessment answers.
-
Add the questions and answers as you would on a catalog item. The item does not appear in the catalog.
-
On the Advanced tab, enter a record generation script like the default example’s:
// Variables are current, sourceRecord, questions let sourceRecordId = sourceRecord.ID(); let sourceRecordTableName = sourceRecord.TableClass(); let genericReferenceId = sourceRecordId + ":" + sourceRecordTableName; let questionsAndAnswers = questions.asJson(); // Calculate the risk let risk = RiskAssessmentUtil.calculateRisk("Change risk assessment", questionsAndAnswers); // Put the risk on the source record Table(sourceRecordTableName, sourceRecordId).Risk(risk).update(); // Put it on the Risk assessment answers record current.Record(genericReferenceId); current.Risk(risk); -
Open ITSM → Risk → Change risk assessments and create a record for the item. Give it a name and any notes.
-
Open ITSM → Risk → Risk assessment questions and create one record per question. Link the question to the risk assessment, name it and give it a weighting above 0.
-
Open ITSM → Risk → Risk assessment question answers and record the score of each answer. The answer must match the question’s answer exactly: the choice key for a choice question, “yes” or “no” for a boolean.
-
Open ITSM → Risk → Risk assessment thresholds and create one threshold per risk level. Use the change’s Risk values: Critical, High, Medium and Low. The threshold is the lowest total score for that level.
-
Point the button at your item. The default table operation “Change - risk assessment” shows a Risk assessment button on saved changes. In its script, set
questionItemto your item’s key:Navigate.showQuestionModal({ questionItem: 'RiskAssessment', // the key of your risk assessment item questionItemParams: questionItemParams, modalOptions: modalOptions });You can make the default operation inactive and copy it to call the assessment from your own client script.
Result
Agents select Risk assessment on a change, answer the questions and close the form. Each answer’s score is multiplied by its question’s weighting and the results are added. The total is compared with the thresholds, and the matching level is written to the change’s Risk. The answers are kept on a Risk assessment answers record, which the button reopens next time.
For example, take two questions. “Has this change happened before?” has weighting 5, with Yes scoring 1 and No scoring 5. “How long does it take to back out?” has weighting 2, with Instantly scoring 1, Less than 1 hour scoring 3 and More than 1 hour scoring 5. The thresholds are Low 0, Medium 10, High 20 and Critical 30.
| Answers | Calculation | Total | Risk |
|---|---|---|---|
| Yes, Less than 1 hour | 1 × 5 + 3 × 2 | 11 | Medium |
| No, More than 1 hour | 5 × 5 + 5 × 2 | 35 | Critical |
| Yes, Instantly | 1 × 5 + 1 × 2 | 7 | Low |