Writing Conditional Date and Time Rules

The Date/Time Rule Builder allows you to set access to securable objects based on the date or time. For example, you can write a date/time rule that allows certain batch programs to be run only at night.

The Date/Time Rule Builder consists of three tabs: Access List, Recurrence, and Effectivity. Use the Access List tab to set the type of access (ALL_ACCESS or NO_ACCESS), and whether the access is for the whole day or for individual one-half hour periods. Use the Recurrence tab to set whether the access level applies on a recurring basis, such as once a week. Use the Effectivity tab to set when the rule takes effect, for example, for a specific two-month period. For all rules built with the Date/Time Builder, Lawson Security bases the time on the time zone for the security server.

To write conditional date/time rules

  1. In the Object Selector, select the object or objects you want to write a rule for.

    For more information, see the section "Each rule applies to one securable object".

  2. On the Rules form, select Conditional Rule Access.
  3. From the drop-down list for conditional rule types, select Date/Time Rule.

    The Date/Time Rule Builder appears.

    Form clip: Date/Time Rule Builder, Access List tab
  4. Set the access level for the date/time rule.
    1. Select whether the access level applies to the entire day or to periods within the day by selecting either the All Day radio button or the Use Day Scheduler radio button.
    2. Set the access level for the entire day or for periods within the day by selecting a form action, ALL_ACCESS, or NO_ACCESS from the drop-down lists.
  5. Specify whether the rule applies to a recurring date and time.
    1. Click the Recurrence tab.
      Form clip: Date/Time Rule Builder, Recurrence tab
    2. Select whether the rule applies on a daily, weekly, monthly, yearly, or weekday basis; or whether the rules applies every specified number of days.
  6. Specify when the rule is in effect
    1. Click the Effectivity tab.
      Form clip: Date/Time Rule Builder, Effectivity tab
    2. Type the date that the rule is first in effect.
    3. Select whether the rule applies indefinitely or through a specified date.

      For the effective and end dates, you can type dates in the following formats:

      • 15 June 2010

      • June 15 2010

      • June 15, 2010

      • 06/15/2010

  7. When you have finished writing the rule, click Apply.