Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page will discuss how to use the Registration Rule Generator.

...

  • Row 1:
    • Course Name [column A]: Full course name for readability purpose only
    • Course Path [column B]: i.e. /Root/MarineLS/Course1

Notes 

The course path is case sensitive until 

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId23f523ea-1678-3ca2-a1e8-2de53fd3b74a
keyCOREDEV-3161
 is released. Currently, paths within registration rules are case-sensitive and wouldn't get executed if the casing is different. For example course /Root/Org/Course1 and registration rule RegisterStudent(/Root/Org/course1):ProfileValueIn(Role,OED Line-boat operator|OED Line-handler);HasNoRegistration() would not get executed

    • Re-Registration [column C]: Set ‘x’ to enable re-registration. Column D is mandatory if column C is ticked.
    • Re-Registration Before Certificate Expiry [column D]: This optional column is used in combination with Re-Registration (column C). It determines the period of time a user should be re-registered before their certificate expires. If left empty the user is re-registered on the day their certificate expires. The format of the cell is a duration value in days, months or years (i.e. like 1d, 2m or 3y)

...

  • Row 1:
    • Course Name [column A]: Full course name for readability purpose only
    • Course Path [column B]: i.e. /Root/MarineLS/Course1

Notes 

The course path is case sensitive until 

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId23f523ea-1678-3ca2-a1e8-2de53fd3b74a
keyCOREDEV-3161
 is released. Currently, paths within registration rules are case-sensitive and wouldn't get executed if the casing is different. For example course /Root/Org/Course1 and registration rule RegisterStudent(/Root/Org/course1):ProfileValueIn(Role,OED Line-boat operator|OED Line-handler);HasNoRegistration() would not get executed

    • Remove Instructor [column C]: Set ‘x’ to remove instructor if any of the OrgProfileField’s values don’t match the user’s profile. If the cell is empty, the instructor will not be removed from the course even if the requirements to be instructor for that course don’t match anymore
    • OrgProfileField Names (Column D+): OrgProfileField names used in any of the rules. The column of row 1 spans across all OrgProfileValues for row 2
      • Note: The OrgProfileField names must not contain '(' or ')' because they don't work with parsing rules in Core. Use '[' and ']' instead.
  • Row 2:
    • OrgProfileFieldValues starting from column D. Every OrgProfileFieldValue of one OrgProfileField occupies one column.
      • Note: The OrgProfileField values must not contain '(' or ')' because they don't work with parsing rules in Core. Use '[' and ']' instead.
  • Row 3+:
    • One or multiple rows per course. Place an ‘x’ into a column to enable registration according to the OrgProfileField’s value

...