UserSkillAnalyzer - Global
-
- UpdatedJan 30, 2025
- 4 minutes to read
- Yokohama
- API reference
The UserSkillAnalyzer API provides methods to analyze user skills against skills required to complete work items.
This API requires the Skills Management plugin (com.snc.skills_management), which you can activate if you have the admin role.
See Qualify and rank users based on skills and skill levels.
UserSkillAnalyzer - UserSkillAnalyzer()
Instantiates a new UserSkillAnalyzer object.
Name | Type | Description |
---|---|---|
None |
Example
UserSkillAnalyzer - analyzeUserByID(String requiredSkillsJson, String userID, Boolean isSkillLevelEnforced)
Analyzes user skills against the required skills and sets the number of matching skills, skill level gap, and qualification that can be collected from an instance.
Analyzes whether an agent is qualified to work on a task by verifying if the agent has the skills and skill levels required to complete the task. If an agent is qualified to work on a task, the API analyzes the level gap between required skills and user's skill level which can be further used by the application to choose the best agent based on level gap. It also analyzes the total number of skills with and without skill levels the agent has to execute that task.
Name | Type | Description |
---|---|---|
requiredSkillsJson | String | List of required skills to compare with user. Each skill is listed as a JSON
entry in the following format:
|
userID | String | Sys ID from the User [sys_user] table. |
isSkillLevelEnforced | Boolean | True if user must have a minimum skill level for all required mandatory skills, false otherwise. Default: false. |
Type | Description |
---|---|
String | JSON that contains all the required information about the user based on the
analyzer skills map as follows:
Error if inaccurate parameters or malformed JSON provided. |
Example
Output:
UserSkillAnalyzer - analyzeUserBySkills(String requiredSkillsJson, String userSkillsJson, Boolean isSkillLevelEnforced)
Analyzes user skills against the required skills and sets the number of matching skills, skill-level gap, and qualification that can be collected from an instance.
Name | Type | Description |
---|---|---|
requiredSkillsJson | String | List of required skills to qualify the users against. Each skill is listed as
a JSON entry in the following format:
|
userSkillsJson | String | List of user skills to determine qualification for required skills. Each
skill is listed as a JSON entry in the following format:
|
isSkillLevelEnforced | Boolean | True if user must have minimum skill level for all required mandatory skills, false otherwise. Default: false. |
Type | Description |
---|---|
String | JSON that contains all the required information about the user based on the
analyzer skills map as follows:
Error if inaccurate parameters or malformed JSON provided. |