Table of Contents | ||||
---|---|---|---|---|
|
...
Registration Rule Matrix
1 | Course Name | TRG-OHS-2205 Working at Height Training for Workers | EO Costa Atlantica PDR - Technical Training Qualification Card | Confined Spaces | |
2 | Course Path | /Root/Carnival/CMG/HESS/WorkingHeightWorker | /Root/Carnival/CMG/PDRs/EO/CostaAtlantica/PDR3 | /Root/Carnival/CMG/EOT/ConfinedSpaces | |
3 | Registration Type | OneTime | ReRegistration | Deactivated | |
4 | De-Registration | ||||
5 | Re-Registration Before Certificate Expiry | 30d | |||
6 | Re-Registration Certificate Short Id | CourseCompleted1Y | |||
7 | Course-Prerequisite (latest registration is completed) | /Root/Carnival/CMG/HESS/WorkingHeightWorker | /Root/Carnival/CMG/HESS/WorkingHeightWorker| !/Root/Carnival/CMG/HESS/WorkingUndergroundWorker | ||
8 | Course-Prerequisite (completed after current completion) | /Root/Carnival/CMG/HESS/WorkingHeightWorker| /Root/Carnival/CMG/HESS/WorkingUndergroundWorker | |||
9 | CertificateWillExpireInCourse (coursePath;certificateShortId;beforeExpiryDuration) | /Root/Carnival/CMG/HESS/WorkingHeightWorker;CourseCompleted3Y;30d | |||
10 | OrgProfileFieldChanged (since latest completion) | Vessel | |||
11 | Users (UserNames) | ||||
12 | |||||
13 | OPF Name | OPF Value | |||
14 | Vessel | Shore | !x | ||
15 | Vessel | AIDAblue | x | ||
16 | Vessel | Costa Atlantica | x | x | |
17 | Rank | Captain | |||
18 | Rank | Engineer | x | x | |
19 | Rank | Environmental Officer | x |
...
OneTime: one time registration - doesn't re-register as soon as a completed registration exists (uses predicate HasNoRegistrations())
ReRegistration: re-registers users if there is no active registration available and all predates predicates return true. Usually this is used in combination with a certificate with expiry (row ‘Re-Registration Before Certificate Expiry’) or any prerequisite predicates like CompletedForSinceCurrentCompletion(coursePath). Uses predicate !HasActiveRegistrations().
OnlyWithCompletedRegistration: registers and re-registers users who have already at least one completed registration. Uses predicates HasCompletedRegistrations() and !HasActiveRegistrations()
Deactivated: a course which was in use before but has been discontinued. This creates a delete registration Offering Rule command for that course (auto-rules only)
No value (empty cell): no rules or delete commands are generated. Columns with no Registration Type value can be used to prepare courses for the future
...
A course path which is prerequisite for the current course, using the predicate MostRecentRegistrationCompletedFor(coursePath). Full course path.
If multiple courses are prerequisite, separate the course paths with '|'.
Check https://rippleops.atlassian.net/wiki/spaces/CMD/pages/33356462/Registration+Rules+Current#Predicates for a full description about how the predicate MostRecentRegistrationCompletedFor
works exactly.
Note: '!' can be used for any course path to negate the requirement.
...
A course path which is prerequisite for the current course, using the predicate CompletedForSinceCurrentCompletion(coursePath). Full course path.
If multiple courses are prerequisite, separate the course paths with '|'.
Check https://rippleops.atlassian.net/wiki/spaces/CMD/pages/33356462/Registration+Rules+Current#Predicates for a full description about how the predicate CompletedForSinceCurrentCompletion
works exactly.
Note: '!' can be used for any course path to negate the requirement.
...
Organization’s path of the courses in the matrix. Only one rules for the same organization are allowed within one matrix file.
optional switch parameter (deprecated): -v
If used, the DOS prompt output is more elaborate what the rule generator is doing.
Parameter Examples
Example for Registration Rules
Code Block |
---|
Student -f "D:\CMG\cmgtestRegRulesTest.csv" -o "D:\CMG\CmgTestRegistrationRule_Commands.txt" -p /Root/Carnival/CMG -v |
Example for Instructor Rules
Code Block |
---|
Instructor -f "D:\CMG\cmgtestInstructorRulesTest.csv" -o "D:\CMG\CmgTestInstructorRule_Commands.txt" -p /Root/Carnival/CMG -v |
Info |
---|
The code for the Offering Rule Generator can be found in Git PS repository MarineLS\RegistrationRuleGenerator |
...