Re-send an expired assessment, from a demand

Clement Dos San
Tera Contributor

Hello,

A user missed the due date assessment and wants to take it again, from a demand.
How I can resend him this assessment ?

Thank you

1 ACCEPTED SOLUTION

Mike_R
Kilo Patron
Kilo Patron

You can try this in a background script

var sur = new GlideRecord("asmt_assessment_instance");

sur.get('sys_id_of_assessment_record');

sur.state="wip";

sur.setWorkflow(false);

sur.update()

View solution in original post

2 REPLIES 2

Mike_R
Kilo Patron
Kilo Patron

You can try this in a background script

var sur = new GlideRecord("asmt_assessment_instance");

sur.get('sys_id_of_assessment_record');

sur.state="wip";

sur.setWorkflow(false);

sur.update()

Clement Dos San
Tera Contributor

I was searching a solution within ServiceNow first , but updating the due date is working.

Thank you