Business Hours Configuration in netflow.cfg

To configure your work calendar in AgilePoint Server, do the procedure in this topic.

Business hours are configured in the <workCalendar> node of the AgilePoint Server configuration file netflow.cfg.

Prerequisites

How to Start

  1. On the AgilePoint Server machine, in a text editor, open the file netflow.cfg.

XML Node Format

<workCalendar
    startAt="[start time (24 hrs. format)]"
    endAt="[end time (24 hrs. format)]"
    weekDays="[working business days]"
    <holidays="[list of public holidays]"/>
    <workdays="[Holds the list of days which are marked and secondary holiday in an organization]"/>
/>

XML Node Example

<workCalendar startAt="9" endAt="17" weekDays="1;2;3;4;5">
    <holidays year="2017" holiday="11/15;11/23;11/24" />
    <workdays year="2017" workday="11/16;11/25;11/29" />
</workCalendar>

Attributes

Field NameDefinition

startAt

Function:
Specifies the start time of the business hours.
Accepted Values:
An integer that represents an hour using 24-hour clock time. For example, 17 represents 5:00 p.m.
Default Value:
Example:
<workCalendar startAt="9" ... />

endAt

Function:
Specifies the end time of your business hours.
Accepted Values:
An integer that represents an hour using 24-hour clock time. For example, 17 represents 5:00 p.m.
Default Value:
Example:
<workCalendar endAt="17" ... />

weekDays

Function:
Specifies the days of the week that are business days for your organization.
Accepted Values:
A list of integer values, separated by semicolons (;).
  • 1 - Shows Monday.
  • 2 - Shows Tuesday.
  • 3 - Shows Wednesday.
  • 4 - Shows Thursday.
  • 5 - Shows Friday.
  • 6 - Shows Saturday.
  • 7 - Shows Sunday.
Default Value:
Example:
<workCalendar weekDays="1;2;3;4;5" ... />

holidays

Function:
Specifies the days that are holidays on your work calendar.
Accepted Values:
  • year - Specifies the year in the format [YYYY].
  • holiday - A semicolon (;) separated list of months and dates in the format [MM/DD].
Default Value:
Example:
<holidays year="2017" holiday="11/15;11/23;11/24" />

workdays

Function:
Specifies the days that are holidays for your organization, but are not public holidays.
Accepted Values:
  • year - Specifies the year in the format [YYYY].
  • workday - A semicolon (;) separated list of months and dates in the format [MM/DD].
Default Value:
Example:
<workdays year="2017" workday="11/16;11/25;11/29" />

Related Topics