- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2022 10:01 AM
I'm trying to run a survey through Virtual agent via script but I keep getting this error, when I run AssessmentCreation(). I know the code works because I can use different Survey's sys_id to run through but this particular Survey is giving me an error.
[AssessmentCreation - createInstances_Parameters]: For assessment ae6c4f161b981980ca2ba645624bcbce, for user c397874c8712bcd02dd921b2debb35dc, instance is not created. Possible reasons are: 1. Please make sure that at least one metric category has at least one assessable record associated. 2. Please make sure that at least one metric category has at least one metric. 3. Please make sure that if domain plugin is installed, at least one assessable record is visible to this user. 4. Please make sure that at least one metric category is accessable to this user - check the roles on category. 5. Please make sure that this user has required roles to access the assessable record.: no thrown error
Where do I check for each one of these possible issues to narrow this down.
I have Survey defined under "Survey" -> "View Surveys".
Chat Survey is checked in the Survey Definition view.
I have one Metric Categories defined.
I have two assessment metrics defined. With the first one asking the experience of the virtual agent then if it's bad, ask for feedback via string.
Solved! Go to Solution.
- Labels:
-
Script Debugger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2022 01:56 PM
I figured it out and future references for anyone that come across this issue.
I went to Assessments > Assessable Records.
- Change the filter to show type.evaluation method from assessment to survey.
- Search the name of the survey
- Click edit in the Category menu. And add the category from the collection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2022 01:56 PM
I figured it out and future references for anyone that come across this issue.
I went to Assessments > Assessable Records.
- Change the filter to show type.evaluation method from assessment to survey.
- Search the name of the survey
- Click edit in the Category menu. And add the category from the collection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 11:04 PM
Hi,
I also met the same problem, can you share your solution in detail.