{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":15002,"path":"field-service-management/smart-assessment-components.md","title":"Smart Assessment components","bundle":null,"doc_type":null,"release":"australia","body":"\n# Smart Assessment components\n\nSeveral types of components are installed with the Smart Assessment feature, including tables, business rules, script includes and scheduled jobs.\n\n## Tables\n\nSmart Assessment adds the table listed in the following table.\n\n<table id=\"table_emm_nqh_12c\"><thead><tr><th>\n\nTable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nQuestionnaire Template\\[sn\\_fsm\\_smart\\_asmt\\_template\\]\n\n</td><td>\n\nStores information about Smart Assessment templates and its associated questionnaire.\n\n</td></tr></tbody>\n</table>## Actions and roles required\n\nSmart Assessment adds the actions and the corresponding roles required in the following table.\n\n<table id=\"table_evy_dvw_t3c\"><thead><tr><th>\n\nAction\n\n</th><th>\n\nRole required\n\n</th></tr></thead><tbody><tr><td>\n\nCreate templates\n\n</td><td>\n\ntemplate\\_manager or template\\_admin\n\n</td></tr><tr><td>\n\nAdminister templates and assessments\n\n</td><td>\n\nQuestionnaire admin \\(questionnaire\\_admin\\)This role includes both the template manager \\(sn\\_smart\\_asmt.template\\_manager\\) and questionnaire user \\(questionnaire\\_user\\) roles.\n\n</td></tr><tr><td>\n\nEdit templates in assessment workspace\n\n</td><td>\n\nTemplate manager \\(sn\\_smart\\_asmt.template\\_manager\\) and category role associated with the template\n\n</td></tr><tr><td>\n\nView templates and complete assessments in the workspace or Mobile Agent app\n\n</td><td>\n\nTemplate reader \\(sn\\_smart\\_asmt.template\\_reader\\), actor \\(sn\\_smart\\_asmt.actor\\), and category role associated with the templateThe template reader and actor roles are a part of the questionnaire user \\(questionnaire\\_user\\) role, which is included in the wm\\_agent role. Therefore, to view templates and complete assessments in the workspace, simply add the category role to the existing wm\\_agent role.\n\n</td></tr><tr><td>\n\nView templates and assessments \\(read-only\\)\n\n</td><td>\n\nQuestionnaire viewer \\(questionnaire\\_viewer\\)\n\n</td></tr><tr><td>\n\nNot confirmed\n\n</td><td>\n\nAssessment reader \\(sn\\_smart\\_asmt.assessment\\_reader\\) and assessment admin \\(sn\\_smart\\_asmt.assessment\\_admin\\)\n\n</td></tr><tr><td>\n\nNot confirmed\n\n</td><td>\n\nwm\\_admin\n\n</td></tr><tr><td>\n\nNot confirmed\n\n</td><td>\n\nwm\\_dispatcher\n\n</td></tr></tbody>\n</table>## Business Rules\n\nSmart Assessment adds the business rules listed in the following table.\n\n<table id=\"table_ot4_gvh_12c\"><thead><tr><th>\n\nBusiness Rule\n\n</th><th>\n\nTable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nTrigger smart assessment\n\n</td><td>\n\nWork Order Task\\[wm\\_task\\]\n\n</td><td>\n\nGenerates Smart Assessment instances for work order tasks.\n\n</td></tr><tr><td>\n\nTrigger smart assessment\n\n</td><td>\n\nWork Order\\[wm\\_order\\]\n\n</td><td>\n\nGenerates Smart Assessment instances for work orders.\n\n</td></tr><tr><td>\n\nTrigger smart assessment\n\n</td><td>\n\nAffected Product\\[wm\\_m2m\\_product\\_to\\_work\\_order\\]\n\n</td><td>\n\nGenerates Smart Assessment instances for affected products.\n\n</td></tr><tr><td>\n\nVerify Duplicate Association Of Template\n\n</td><td>\n\nQuestionnaire template\\[sn\\_fsm\\_smart\\_asmt\\_template\\]\n\n</td><td>\n\nEnsures that each smart assessment template is associated with only one questionnaire record. A smart assessment template can't be linked to multiple questionnaire records.\n\n</td></tr></tbody>\n</table>## Script Includes\n\nSmart Assessment adds the script includes listed in the following table.\n\n|Script Include|Description|\n|--------------|-----------|\n|FSMSmartAsmtUIControlSNC|Has methods to control UI components and actions based on the configuration for Smart Assessment.|\n|FSMSmartAsmtUIControl|Contains a customizable wrapper for the script FSMSmartAsmtUIControlSNC.|\n|FSMSmartAssessmentUtilSNC|Contains methods for all reference qualifiers and generates assessments from the Smart Assessment template if the conditions are met.|\n|FSMSmartAssessmentUtil|Contains a customizable wrapper for the script FSMSmartAssessmentUtilSNC.|\n|FSMSmartAssessmentDaoSNC|Contains all the database queries related to Smart Assessment.|\n|FSMSmartAssessmentDao|Contains a customizable wrapper for the script FSMSmartAssessmentDaoSNC.|\n|FSMSmartAssessmentMigrationHelperSNC|Contains methods related to survey type questionnaire and its instances migration to Smart Assessment.|\n|FSMSmartAssessmentMigrationHelper|Wrapper|\n|FSMSmartAssessmentsConstants|Holds the constants for Smart Assessment.|\n|QuestionnaireUtilSmartAssessmentImpl|Implements the extension point QuestionnaireUtilExtPoint and contains utility methods for questionnaires and assessments.|\n|QuestionnaireUtilAjax|Contains methods to alter fields on the record page based on the configuration.|\n\n## Scheduled Job\n\nSmart Assessment adds the scheduled job listed in the following table.\n\n|Scheduled Job|Description|\n|-------------|-----------|\n|Migrate survey instances to smart assessments|Migrates questionnaire instances to Smart Assessment and re-triggers the migrated instances.|\n\n**Parent Topic:**[Components installed with additional plugins for Field Service Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/field-service-management/components-inst-additional-plugin.md)\n\n**Related topics**  \n\n\n[Smart Assessment questionnaires](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/field-service-management/smart-assessment-questionnaire.md)\n\n[Configuring Smart Assessment questionnaires for Now Mobile Agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/field-service-management/mobile-experience-for-field-service-management-glide-family/configuring-smart-assessment-questionnaire.md)\n\n"}}