Skip to main content

Settings

EdWard Settings File

The settings file is a crucial part of configuring EdWard to align with your environment. This document will explain the key sections of the settings file, including locale configuration, the release/model settings, and how the mapping system works to connect your Decisively rules with EdWard's UI elements.

Structure of the Settings File

The settings file follows a JSON format and contains several important sections:

{
"locale": {
"fullDate": "dd/MM/yyyy",
"fullDateTime": "yyyy-MM-dd HH:mm:ss",
"shortDate": "EEE, dd MMM"
},
"mapping": {
// Various mapping settings
},
"release": "GUID", // The Decisively release to use. Blank if it will simply use the most current version in your environment
"model": "GUID" // The Decisively model/project that contains your rule base
}

Locale Configuration

The locale section controls how dates are formatted in EdWard. We use the date-fn library to handle date formatting, which means the formatting standards follow the date-fn conventions.

Date Formats:

  • fullDate: Controls the full date display. For example, dd/MM/yyyy would display the date as 12/04/2025.
  • fullDateTime: Controls the full date-time display, including hours, minutes, and seconds. For example, yyyy-MM-dd HH:mm:ss would display 2025-04-12 14:45:30.
  • shortDate: Controls the short date display. For example, EEE, dd MMM would display Sat, 12 Apr.

These settings allow you to adjust how dates are presented across EdWard, ensuring consistency with regional or organizational standards.

info

Note: data within EdWard is stored in ISO format in UTC timestamps regardless of the formatting you select. Formatting only effects display within the UI. Your API calls will return in the form YYYY-MM-DDTHH:mm:ssZ

Release and Model Configuration

The release and model settings dictate which Decisively rule base is used in EdWard. These values are pulled from Decisively and specify the exact release version and project model that EdWard will operate with.

  • Release: The GUID for the specific Decisively release to use. If left blank, EdWard will automatically use the most current version in your environment.
  • Model: The GUID for the Decisively model or project that contains the rule base. This is critical for ensuring EdWard is using the correct rules for decision-making processes.

Both of these settings are essential for ensuring that EdWard is connected to the right rule base and operates within the correct context.

Mapping Configuration

The mapping section is where you define how the rules within your Decisively model map to the UI elements shown in EdWard. This section allows you to configure the connection between the backend rules (stored as GUIDs) and the shorthand terms used in the UI.

Each entity within the Decisively model has a corresponding GUID for each rule attribute, and these GUIDs are mapped to short-hand terms that are used in the underlying code to display the relevant data in EdWard.

Mapping Table

Below is a table where you can explain what each shorthand term does and where it is displayed within EdWard. Please update this table as needed for your configuration.

EntityNameDescription
globalstartThe start of the timesheet period. Displayed in multiple locations across the UI
globalendThe end of the timesheet period. Displayed in multiple locations across the UI
globalnameThe employee's name
globalmealAllowanceThe total meal allowance. Displayed on timesheet summaries
globaltoilAccruedThe total amount of TOIL accrued during the period. Displayed on timesheet summaries
globalordinaryHoursThe total ordinary hours for the period. Displayed on timesheet summaries
globaltotalHoursThe total hours (ordinary + others) for the period. Displayed on timesheet summaries
globaltravelTimeThe total travel time for the period. Displayed on timesheet summaries
globalleaveTakenThe total amount of leave taken during the period. Displayed on timesheet summaries
globalpaidOrdinaryHoursThe total amount of ordinary hours that should be paid. Displayed on timesheet summaries
globalacademicHoursThe total amount of academic hours (if applicable) for an employee. Displayed on timesheet summaries
globaltotalPublicHolidayHoursThe total amount of hours worked during a public holiday. Displayed on timesheet summaries
employeesmealAllowanceByDayA temporal value of the meal allowance by day. Used to determine meal allowance for timesheet entry display
employeesrestPausesThe number of rest pauses an employee is entitled to
employeesemployeeTotalHoursInSpanThe total amount of hours worked during the employee's span of hours
employeesacademicUnitsThe academic units assigned to an employee (if applicable)
employeesemployeeIsWorkingOvertimeIndicates if the employee is working overtime
employeesemployeeIsSessionalIndicates if the employee is a sessional worker
employeesemployeeTotalHoursThe total hours worked by the employee for the specified period
employeesemployeeOvertimeHoursThe total number of overtime hours worked by the employee
employeesemployeeLeaveHoursThe total number of leave hours taken by the employee
employeesemployeeTravelHoursThe total number of travel hours worked by the employee
employeesemployeePublicHolidayHoursThe total number of hours worked on public holidays by the employee
employeesemployeeTotalPublicHolidayHoursThe total number of public holiday hours worked by the employee
rolesroleLevelThe level of the role assigned to the employee
rolesroleIsSessionalIndicates if the role is sessional
rolesroleIsProfessionalIndicates if the role is a professional role
role_positionspositionOrdinaryHoursThe ordinary hours assigned to the role/position
role_positionspositionAcademicHoursThe academic hours assigned to the role/position
role_positionspositionAcademicUnitsThe academic units assigned to the role/position
role_positionspositionTravelTimeThe travel time assigned to the role/position
role_positionspositionLeaveTakenThe leave taken assigned to the role/position
role_positionspositionPaidOrdinaryHoursThe paid ordinary hours assigned to the role/position
role_positionspositionOvertimeHoursThe overtime hours assigned to the role/position
role_positionspositionOvertimePaidThe overtime paid assigned to the role/position
role_positionspositionToilAccruedThe accrued TOIL assigned to the role/position
role_positionspositionPenaltiesHoursThe penalties hours assigned to the role/position
role_positionspositionOnCallAllowanceThe on-call allowance assigned to the role/position
role_positionspositionTitleThe job title assigned to the role/position
role_positionspositionHasPenaltyIndicates if the role has associated penalties
role_positionspositionPublicHolidaysThe public holiday hours assigned to the role/position
role_positionspositionTotalHoursThe total hours assigned to the role/position
timesheetsstatusThe status of the timesheet
timesheet_workdaysonCallForDayIndicates whether the employee is on-call for a particular day
timesheet_work_periodsstartThe start of the work period
timesheet_work_periodsendThe end of the work period
timesheet_work_periodsstatusThe status of the work period
timesheet_work_periodstypeThe type of the work period (e.g., regular, overtime)
timesheet_work_periodsleaveThe leave type for the work period
timesheet_work_periodsacademicHoursThe academic hours for the work period
timesheet_work_periodsjobNumberThe job number associated with the work period
timesheet_work_periodsunitsThe units worked for the work period
timesheet_work_periodscommentAdditional comments for the work period
timesheet_work_periodscallBackIndicates if a callback was made during the work period
timesheet_work_periodsworkFromHomeIndicates if the work was done from home
timesheet_work_periodsovertimeIndicates overtime worked during the period
timesheet_work_periodstoilAccruedIndicates the TOIL accrued during the work period
timesheet_work_periodspublicHolidayIndicates if the work period falls on a public holiday
timesheet_work_periodsminEngagementThe minimum engagement for the work period
timesheet_work_periodsisLeaveIndicates if the work period was a leave period
timesheet_work_periodssessionalTypeThe type of sessional work for the period
timesheet_work_periodspenaltyAmountThe penalty amount applied during the work period
timesheet_work_periodspenaltyRateThe penalty rate applied during the work period
timesheet_work_periodsovertimeRateThe overtime rate applied during the work period
timesheet_work_periodstoilRateThe TOIL rate applied during the work period
timesheet_work_periodspublicHolidayRateThe public holiday rate applied during the work period
timesheet_work_periodsperiodTotalHoursThe total hours worked during the period
timesheet_work_periodsperiodOrdinaryHoursThe total ordinary hours worked during the period
timesheet_work_periodsperiodOvertimeThe total overtime hours worked during the period
timesheet_work_periodsovertimeApprovedIndicates if the overtime was approved for the period
timesheet_work_periodsovertimeJustificationThe justification for overtime worked during the period
timesheet_work_periodsisCasualIndicates if the employee is working as a casual during the period
on_call_arrangementsonCallStartThe start time for the on-call arrangement
on_call_arrangementsonCallEndThe end time for the on-call arrangement
on_call_arrangementsonCallSaturdayIndicates if the employee is on call on Saturday
on_call_arrangementsonCallSundayIndicates if the employee is on call on Sunday
timesheet_work_breaksstartThe start time for the work break
timesheet_work_breaksendThe end time for the work break