ATF(Risk Assessment)

kishorek9987311
Tera Contributor


Hello,

I am currently working on automating the Change module. However, I am encountering an issue where the change record remains in the New state and cannot proceed to the next stage because the risk assessment must be completed first.

I am unable to set the risk assessment values using the Set Component step. Therefore, I am seeking assistance with a server-side script to automatically populate and submit the risk assessment.

The assessment contains the following questions:

1.Complexity of the change in terms of both planning and execution

2.Criticality of the change components / involved applications / business services / CIs

3.Redundancy plan available?

4.Dependency with services / applications / components (Impacted CI to be added in the related list)

5.Does this change execution require downtime? (Outage schedule to be added in the related list)

The possible responses for these questions include values such as “Easy”, “Yes”, and “No.”

I would appreciate your guidance on how to complete and submit this risk assessment programmatically so that the change can progress to the next state.

Thank you.

 
1 REPLY 1

AnkaRaoB
Giga Guru

Hi @kishorek9987311 

 

Risk assessment values are stored in assessment tables, not on the change record. Therefore, Set Component cannot populate them. To automate change progression, you must programmatically create or update the assessment instance (asmt_assessment_instance), populate the related question values, and mark the assessment as completed. Once completed, the change can move out of the New state.

If this response helps you solve the issue, please mark it as the Accepted Solution

Thanks and Regards,

AnkaRao