Siebel Dealer Administration Guide > Business Rules for Dealers >
Configuration for Dealer Business Rules
This topic gives a high-level overview of the steps needed to allow the Business Rules Engine to process different types of entities. You must understand the use of Siebel Tools before you try to do this. For more information about Siebel Tools, see Using Siebel Tools. Before configuration, the Business Rules Engine includes workflows to support rules based on certain entities (such as Contacts and Sales History) and actions (such as Create Activity and Send Letter). For a summary of the entities and actions supported before configuration, see Creating New Actions for Dealer Business Rules. To allow business rules to support other entities, go through the following steps:
NOTE: The Business Rules module can be used by any industry vertical. You can use this configuration to allow it to support entities needed by other industries.
Gathering Information
Before you begin, you must have all of the following information:
- Identify the Business Object (Subject Entity/Object).
- Identify the Primary BC of the Business Object.
- Identify the Workflow/Business service that performs the actions (Action Types).
- Identify the BC Fields on which the Subject Entity can be queried (Criteria).
- Identify if Organization Visibility is required and if it is configured on the Primary BC.
Enabling the Object for Business Rules
To enable the object for business rules, perform the following procedures. Use the following procedure to create seed data to enable the object for business rules. To create seed data to enable the object for business rules
- Navigate to the List of Values view of the Application Administration screen.
- Query in the Type field for the value EAUTO_BUS_RULE_OBJECT.
- Copy one of the records with this value in the Type field.
- In the new record:
- Change the value in the LIC (Language Independent Code) field to the business object name.
- Change the value in the Display Name field to an appropriate value.
Use the following procedure to create seed data to enable the object for query assistant. To create seed data to enable the object for query assistant
- Navigate to the List of Values view of the Application Administration screen.
- Query in the Type field for the value EAUTO_QUERY_BUSCOMP.
- Copy one of the records with this value in the Type field.
- In the new record:
- Change the value in the LIC field to the business object of the subject entity.
- Change the value in the Display Name field to an appropriate value.
- Define a new LOV Type with the name QRY_FLD_xxxx where xxxx identifies the Entity.
For example, if the entity is Order, the new LOV Type would be QRY_FLD_ORDER.
- For each field that needs to be queried on, create a new LOV record of this new type. In the new record:
- In the LIC field, enter the BC field name.
- In the Display Name field, enter an appropriate value that will be displayed to the user.
Use the following procedure to perform configuration to enable the object for query assistant. To perform configuration to enable the object for query assistant
- In Oracle's Siebel Tools, display Business Components.
- Query for eAuto Query and eAuto Query Condition.
- For each of these Business Components:
- Query for BC User Properties named Query BC Field LOV*.
- Create a new user property with the following values:
- Name: Query BC Field LOV xx
- Value: primary_bc_name_above, qry_fld_lov_type_created_above
- Include the Primary BC (without any link) in the following Business Objects:
- eAuto Business Rule Template
- eAuto Business Rule
Defining Business Rules
To define the business rules, perform the following procedures. Use the following procedure to define action types. To define action types
- Navigate to the Action Types view of the Administration - Business Rules screen.
- Create a New Action Type Record.
- In the Mode field, select the appropriate value.
- In the Type field, select Workflow or Business Service.
- If you selected Workflow, specify the Workflow. If you selected Business Service, specify the Business Service, Method and Id Field.
- In the Arguments Applet:
- Create a new record for each Argument that needs to be passed, and specify the required values.
- Depending on the type of the Argument, specify the Pick List, Pick Applet and Pick Field fields if required.
Use the following procedure to define the business rule template. To define the business rule template
- Navigate to the Business Rule Templates view of the Administration - Business Rules screen.
- Create a New Business Rule Template for the object you specified earlier.
- In the Actions applet, add an Action record and specify arguments.
- In the Criteria applet, specify criteria fields and values for them.
- Select the Publish check box to publish the template.
- Navigate to the All Business Rules view of the Business Rules Subscription screen.
- Click Show Available Templates.
- Select the template you defined and click Subscribe.
- Activate the Rule.
|