How to copy assessment Responses from Different RAM

taylor13
Tera Contributor

Hello Team,

 

I have 3 RAM's and I have same question((Inherent assessment) in RAM after the assessment I want to copy all assessment responses and forward to 4th RAM (inherent section).

 

How can we achieved that in ServiceNow?

 

@Community Alums @Ahmed Drar   

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @taylor13 ,

As i mentioned on my first reply,you cannot copy the responses over to the next RAMs.

 

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

Hi @taylor13 ,

 Not Really!!

The best option for you is to copy the RAM, if you are a Risk Admin:

  1. Navigate to All > Advanced Risk Assessment > Administration > Risk Assessment Methodologies
  2. Open the RAM you want to copy.
  3. Click Copy.

 

Hello Sandeep,

I don't want to Copy the RAM  assume you have 3 RAM X,Y,Z every RAM has their own assessment which is store on Table(sn_risk_advanced_risk_assessment_instance_response). 

Each RAM have one one one Question 

&In the 4th the RAM I have same Questions which is created of RAM1 , RAM2, RAM3. SO, in the 4th RAM I want Copy the response from RAM1, RAM2 ,RAM3 and same response need to update in 4Th ASSessment instance. I hope it's clear Now.

var query1 = 'assessment_type=1^assessment_instance_id.numberSTARTSWITHRASMT00100068';
var gd = new GlideRecord('sn_risk_advanced_risk_assessment_instance_response');
gd.EncodedQuery(query1);
gd.query();
while(gd.next()){
var query11 = 'assessment_type=1^assessment_instance_id.numberSTARTSWITHRASMT00100069';
var gd1 = new GlideRecord('sn_risk_advanced_risk_assessment_instance_response');
gd1.EncodedQuery(query11);
gd1.query();
while(gd1.next()){
gd1.factor_response = gd.factor_response;
gd1.Update();
}
}
}

I have tried from RAM1 copied the response and pasting to RAM4 but it's not working. can you please guide me?

 

Community Alums
Not applicable

Hi @taylor13 ,

As i mentioned on my first reply,you cannot copy the responses over to the next RAMs.