Starting Workflow Monitor Agent for Dynamic Assignment Using the Server Manager Command-Line Interface

To run dynamic assignment, the Workflow Monitor Agent server component (WorkMon) needs to be running. This server component monitors the S_ESCL_REQ table. Database triggers, when fired because of object changes, create records in the S_ESCL_REQ table. The Workflow Monitor Agent reads these new records and processes requests for Assignment Manager policies. Affected objects are then dynamically assigned.

Note: Dynamic assignment does not log information into the S_ESCL_LOG table. For more information about log files, see Siebel System Monitoring and Diagnostics Guide.

Complete the steps in the following procedure to start workflow monitor agent from the Server Manager command-line interface (srvrmgr). This task is a step in the Process of Running Dynamic Assignment.

To start Workflow Monitor Agent from the Server Manager command-line interface

  1. Determine the workflow group that you want Workflow Monitor Agent to monitor.

    1. Navigate to the Administration - Assignment screen, and then the Assignment Policies view.

    2. In the Policy Group field in the Assignment Policies list, choose the workflow group (the default group is Assignment Group).

  2. Start the srvrmgr program.

    For detailed information on this task, see Siebel System Administration Guide. After the program starts, the prompt changes to:

    srvrmgr: server_name>
    
  3. At the prompt, enter the following information to start the Workflow Monitor Agent server component task; use the Group information gathered from the previous step (Assignment Group used in this example):

    start task for component workmon with GroupName="Assignment Group"
    
  4. Configure other component parameters, if needed.

    For more information about other configurable parameters, see the following table.

    Note: Separate the parameters and their values in the command-line statement with commas.
  5. Alternatively, you can configure a Workflow Monitor Agent to start automatically to process assignment requests whenever the Siebel Server starts.

    For more information about Workflow Monitor Agent, see Siebel Business Process Framework: Workflow Guide.

This command starts a new task running in the background and returns to the Server Manager immediately.

Note: It is possible to set up multiple Workflow Monitor Agents for dynamic assignment. For more information about setting up multiple Workflow Monitor Agents, see the information about starting Workflow Agent processes automatically with Siebel Server, in Siebel Business Process Framework: Workflow Guide.

The following table shows the Workflow Monitor Agent parameters.

Note: The Action Interval parameter has no effect on assignment policies, where Workflow Monitor Agent was started in the Administration - Assignment screen, and the Assignment Policies view, with the group Assignment Group. This parameter applies only to workflow policies created in the Administration - Business Process screen, and the Workflow Policies view. If you require this parameter, then invoke Assignment Manager through the Synchronous Assignment Manager Requests business service from within a workflow process. For more information, see How Siebel Assignment Manager Uses Server Key Mappings to Load Rules to a Particular Siebel Server. See also Siebel Business Process Framework: Workflow Guide.

Parameter Name

Alias

Description

Default Value

Action Interval

ActionInterval

Do not reexecute actions within specified interval in minutes.

Note: This parameter applies only to workflow policies, not to assignment policies.

3600

Cache size of Policy violations

CheckLogCacheSz

Number of policy violations to store in cache

100

Cache size of last user information

LastUsrCacheSz

Number of last user information items to cache

100

Group Name

GroupName

Group Name

Not applicable

Ignore errors

IgnoreError

Ignore errors while processing requests

FALSE

Mail Server

MailServer

Name of email server to send notification of abnormal termination

Not applicable

Mailing Address

MailTo

Email address to review notification of abnormal termination

Not applicable

Number of days to keep violation information

KeepLogDays

Number of days worth of violation information that should be retained

30

Number of seconds to retry

GenReqRetry

Number of seconds to retry sending a Generic Request message

120

Processes the batch Policies

BatchMode

Process the batch policies

FALSE

Reload Policy

ReloadPolicy

Reload Policy Interval, in seconds

600

Request delete size

DeleteSize

Request delete size

500

Requests per iteration

Requests

Requests per iteration

5000

Sleep Time

SleepTime

Time to sleep between iterations (in seconds), that is, is the frequency of time the Workflow Monitor Agent polls the S_ESCL_REQ table (escalation request table) and assigns rows.

For example, if SleepTime is set to 60 seconds, then the Workflow Monitor Agent polls the S_ESCL_REQ table, then waits 60 seconds before it polls it again.

60

Use Action Agent

ActionAgent

Use Action Agent

FALSE

For more information about starting, stopping, and monitoring server tasks, see Siebel System Administration Guide. For more information about the Workflow Monitor Agent, see Siebel Business Process Framework: Workflow Guide.