Go to primary content
Siebel CRM Assignment Manager Administration Guide
Siebel 2018
E24725-01
  Go to Documentation Home
Home
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
    View PDF

About Using an Object WHERE Clause to Restrict the Number of Records Processed

The Object Where Clause (ObjWhereClause) parameter can be used to restrict which records are retrieved and processed. Standard SQL WHERE statements are used for the object WHERE clause, and can include up to 2048 characters when a Siebel Assignment Manager job is started using the command-line interface. However, when you start an Assignment Manager job from the GUI, you can only specify up to 100 characters. Also, when using wildcards in the object WHERE clause, make sure that you use the correct wildcard specific to your database.

The following object WHERE clause examples for the Account assignment object are provided as a guideline. Typically, assignment administrators work with their database administrator to generate optimal SQL for their implementation.

As an example, the following conditions for the Account assignment object can apply:

The following is an example of a batch assignment request using the command-line interface:

start task for comp asgnbatch with asgnobjname="Account", asgnmode="MatchAssign", objwhereclause="where name like 'B%'"

This command batch assigns accounts starting with B.

Optionally, you can use the command-line interface and the object WHERE clause to run only a select number of assignment rule groups. The following is an example of this:

start task for comp asgnbatch with asgnobjname="Account", objwhereclause="where name like 'B%'", asgnkey="12-4DR56"

In this example, 12-4DR56 is the row ID of an assignment rule group, and only the rules belonging to this group are evaluated when this parameter is passed in the request.


Note:

When using the Server Manager command-line interface, use double quotation marks for the value of the ObjWhereClause parameter; otherwise, it is treated as a command-line option that changes the case.