smart assessment

ssr99
Tera Contributor

Hi all


For Smart Assessment, I am trying to populate entity used in controls should auto populate in assessment question and for that I am using Assessment Metric method called “Default answer from script” but its not working. The questions are migrated using the same metric type. I have used gs.log() to check script part is running are not but and did not find the message written in log function under system logs. What could be the reason what stopping to execute that script. Is there any business rule that that triggers script part.
Assessable records are getting generated.

4 REPLIES 4

Community Alums
Not applicable

Hi @ssr99 ,

Can you please help me with some screenshots of your issue.

 

IMG_20241023_130155.jpg

 

@Ayush Aggarwal @Community Alums 

I have written code to auto populate the entity name on assessment questions when assessment created for control. Entity name should be same as it is used in control. 

I have tried log function to check if this code is running or not but i couldn't see any log messages in system log.

Ayush Aggarwal
ServiceNow Employee
ServiceNow Employee

@ssr99 Auto population of responses in assessment questions is not supported yet in smart assessment. Hence your script was not migrated to smart assessment questions.

Ayush Aggarwal
ServiceNow Employee
ServiceNow Employee

Hi @ssr99 ,

Can you please elaborate more on exactly what you are trying out?