Issue
Survey emails are not triggered and surveys are not generated.
Error on the form when survey is assigned "Instance could not be created"
Cause
Possible reasons and fixes to check :
When the category is missing for the assessable record, it leads to the error: "Instance could not be created"
On the table : asmt_m2m_category_assessment, category was missing for the assessable record : On creating that , the issue is resolved.
Things to check in the case of similar error :
-asmt_assessable_record
-asmt_m2m_category_assessment
-asmt_metric_type
Also check if OOB Script include:AssessmentUtils is as per OOB.
Resolution
When we create a new record in asmt_m2m_category_assessment table issue is resolved