Error while access Survey in Service Portal

Dhushanth1
Giga Contributor

We are getting the below error when trying to access survey in Service Portal. Can anyone help me on this.

 

find_real_file.png

1 ACCEPTED SOLUTION

hello  @Dhushanth check this function in the script include which is getting called in server script of widget

find_real_file.png

If you open that assessment utils script include again you can see they are returning the glide record object

find_real_file.png

according to that code is it returning assessment instance glide record object for the logged in user 

so check if there are any records for the logged in user  in assessment instance table satisfying the query in the above function.

If not create one and check 

PLEASE MARK MY ANSWER CORRECT IF IT HELPS YOU

View solution in original post

7 REPLIES 7

@Dhushanth ideally it should be getSurveys as per OOB code.IN 18th line of server script in My surveys widget

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

The error shows the widget and line its failing on. Open the widget and see what is happening, maybe some property is missing or something like that.

-Anurag

-Anurag

Hi @Anurag Tripathi - Its calling getMySurveys function from SPSurveyAPI Script Include. But we didn't change anything from existing configuration.