Administer > Application setup > Clocks > Start or stop a clock from format control

Start or stop a clock from format control

Applies to User Roles:

System Administrator

To start or stop a clock from format control, follow these steps:

  1. Click Tailoring > Format Control.
  2. Type or select optional search criteria.
  3. Click Search.
  4. Select a form, and then click the Subroutines tab.
  5. In the Application Name field, type one of the following options:

    • apm.start.clock to start a clock.
    • apm.stop.clock to stop a clock.
  6. Type the following information into the Names and Values fields:

    Names Values Description
    Name

    Type one of the following values:

    • problem
    • downtime
    • cm3r
    • SLA
    • incident
    This value describes the type of clock to start. For Incident Management clocks, type problem or SLA.
    prompt Type the name of the clock. This value describes the name of the clock where Service Manager stores duration information. This name must only be unique within the format control.
    query Type the Unique key for the clock to use. This value identifies the record, event, or object for the clock to track. This value must be unique throughout Service Manager. For a record, you can type the value number in $file to enter the unique ID associated with the record.
    string1

    Type one of the following values:

    • stop
    • strobe
    This value is only required if you are calling the apm.stop.clock application. The value stop stops the clock named in the format control. The value strobe forces the clock to recalculate the clock's current running time.
    time1 Type the time the clock is to stop or start. This value determines when the clock stops or starts. To stop the clock at the current date and time, type tod().
  7. Type or select any additional format controls.
  8. Click Save.

Related topics

Clocks

Add a clocks record
Add a clock to track incident record status changes
Enable tracking of operator times
Start or stop a clock from a macro
View a clock record