Demand - Retake Assessments

Laurie Marlowe1
Kilo Sage

Hello,

I have a couple questions about Assessments in Demand, as I've started working with this application.

Retaking Assessments

It appears if a Demand is deferred, and then marked incomplete to set the state back to Draft, that assessment metrics are not reset.   Once the Demand moves to the Screening state (for the second time), the new assessment values are averaged into the previous assessment values.  

  • Setting the values back to zero in the Populate Metrics Results business rule does NOT reset the values.   It still averages all of the scores.
  • Attempting to delete the previous assessments via deleting assessment results from the Assessment Results related list on the Demand does not reset the metrics.

Is there a simple way to reset the metrics if we want to retake the assessments?   Or do we need to cancel and recopy existing data to a new Demand (similar to how Copy New works for change tickets)?   Or something else???

Allow Retake Checkbox

On the Assessments->Metric Definitions->Type form there is a checkbox called Allow Retake.   The box is checked, but assessment takers cannot retake the assessment after it is submitted.   So what does this box do?

Capture.JPG

Thank you in advance!

Laurie

4 REPLIES 4

kellykaufmann
Mega Guru

ITSMgal Emily: Do you know the answer to this or who may know the answer?


Sumanta Sathua
ServiceNow Employee
ServiceNow Employee

Please refer to this .


http://wiki.servicenow.com/index.php?title=Survey_Definitions#gsc.tab=0



After complete the assessment user can modify the answer the allow retake functionality enabled . Verified in my environment . Allow retake working fine under Demand   assessment . Which release /patch are you in ?



Check the value of allow_retake   column   in the   table "asmt_metric_type"   . If you navigate to   UI page "assessment_take2" ,Under processing script you can see the validation implemented for allow retake .



if ((status == 'complete') && (inst.metric_type.allow_retake) && (inst.due_date > new GlideDateTime())) {


  status = 'wip'; // Store new results when saving a completed instance and retake is allowed.


  retake = true;


  }


Hi Lauri,



I had the same issue and I think I found the solution.


I expect that your system time format is not "YYYY-MM-DD".


Because in the OOTB ui page "Assessment_list" the query is: gr.addQuery("due_date", ">=", gs.now());.


However, this will compare a "YYYY-MM-DD" format with another one and therefore sometimes works and sometimes it doesn't.


Therefore you need to change line 42 to gr.addQuery("due_date", ">=", gs.nowNoTZ());


This worked for me.


I will create a Hi ticket for it, so hopefully ServiceNow can pick it up in a fix.   assessment_list.png


We're on Kingston patch 3 and still see the date issue (although on line 40).  Does anyone know if this is planned to be fixed?


Susan Williams, Lexmark