Data Structure
TrainingPrerequisite
Represents a conditions preset to be met by user context for training application.| Field | Type | Description |
|---|---|---|
conditionType | TrainingPrerequisitesConditionType! | The condition type. |
conditionFormulaExpression | String! | The logical expression formula to be met for accessing the Learning Path. Represented by list of LP’s ids separated by logical operators such as: AND, OR. |
learningPaths | [LearningPath] | List of referenced LearningPath objects to be considered for prerequisites conditions. |
conditionPassed | Boolean! | Indicates whether the current user context is passed the prerequisites condition for the Learning Path. |
TrainingPrerequisitesConditionType
TheTrainingPrerequisitesConditionType enum defines the possible variant of training prerequisites condition types
| Condition type | Description |
|---|---|
AND | All the listed Learning Paths in the prerequisites section should be successfully passed. |
OR | At least one Learning Paths from listed references in the prerequisites section should be successfully passed. |
CUSTOM | The list of required Learning Paths to be passed is defined by custom condition formula expression. |
Queries
The training prerequisites can be accessed by anyLearningPass object with trainingPrerequisites field:
- You must have
AUTHENTICATEDscope to access prerequisites. Anonymous users cannot retrieve this data. - The API user context must be present and valid - otherwise, training prerequisites data won’t be presented.