Survey problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have created a survey without trigger condition as I have to trigger a survey against asset on demand through schedule job. when I execute below script using createAssessments() function it is not creating assessment instance below is the return exception message.
script-
(new SNC.AssessmentCreation()).createAssessments('516c8a439312311060ad3aaefaba10e5', //sysid of survey '13c1fa8837f3100044e0bfc8bcbe5d38' // sysid of source asset record, gs.getUserID() //assignto user);
For assessment 516c8a439312311060ad3aaefaba10e5, for user 6816f79cc0a8016401c5a33be04be441, 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
[AssessmentCreation - createInstances_Parameters]: For assessment 516c8a439312311060ad3aaefaba10e5, for following users [6816f79cc0a8016401c5a33be04be441], no instance is created. Please find previous error messages for details.: no thrown error
0 REPLIES 0
