Assessment var result = new global.AssessmentUtils().createAssessments(current.questionnaire + '', current.sys_id+'', current.u_user +'', ''); returs no questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 04:02 AM
I have used the below code in UI action
var result = new global.AssessmentUtils().createAssessments(current.questionnaire + '' ", current.sys_id+'' ", current.u_user +'' ", '' " );
gs.addInfoMessage('result is:'+result);
But when I click on thee button it returns "noquestions". Please note that assessable record gets created but categories do not get assigned.
Questionnaire created has 2 metric categories with conditions and though record fulfills conditions, it does not trigger the category under the assessable record.
Please reply ASAP as this is an urgent requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2020 11:01 AM
Hello, did you find the solution for this as i am facing the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2020 08:26 AM
Hello, here the solution
https://community.servicenow.com/community?id=community_question&sys_id=74defe74db655c10414eeeb5ca961927
Best Regards.