Creating a service rule

This procedure describes how to create a service rule, which enables you to manually or automatically generate services for jobs.

To create a service rule:

  1. From the Tools domain, select Service Definition Manager.

    The Service Definition Manager window appears.

  2. Click New Service Rule.

    The Service Rule wizard appears.

  3. In the Name and Description fields, type the name and description of the service rule.
  4. Do one of the following:
  5. Apply filters on jobs that are relevant for the service rule, and then click Next.

    For a detailed description of these fields, see Parameters. If you want more job filters, select More.

    The Grouping window appears.

  6. Select one of the following:

    EXAMPLE: If you group by the first 3 letters of the Application field, jobs with Application BACKUP01 and BACKUP02 will be in the same service, but jobs with Application BATCH_JOBS will be in a different service.

  7. Click Next.

    The Properties window appears.

  8. Define a format for service name and description of the generated service definitions.

    The maximum character length for the service name is 200 and 400 for the description. You can use field placeholders which are replaced by actual job attributes in the generated services.

    EXAMPLE: The format name Service for {Application} in {Sub-application} creates a service named Service for app1 in Sub-app1 that contains jobs with Application=app1 and Sub-application=sub-application1

    If you group according to the first or last letters of the field's value, the placeholder is replaced by the first or last letter. In the first example of this procedure, Service for {Application} is replaced with Service for BAC and Service for BAT for the two generated services.

  9. Do one or more of the following:
  10. Do one of the following:

    Services that are automatically generated for active rules are maintained by the Control-M/EM server and do not appear in the Service Definition Manager window. They are only visible in Control-M Self Service.

  11. To view the jobs in each service:

    The service rule is saved and appears in the Service Definition Manager.

Parent Topic

Service rules