Siebel Territory Management Guide > Activating and Maintaining Territory Alignments >
Configuring the Periodic Runs Workflow to Use the Timestamp Filter
You can use the periodic runs workflow to maintain territory alignments, as described in Using the Periodic Runs Workflow to Maintain Territory Alignments, but first you must perform the following configuration tasks:
Modifying the Periodic Runs Workflow
Use this procedure to modify the Periodic Runs workflow. To modify the Periodic Runs workflow
- Prepare to modify the workflow:
- In Siebel Tools, connected to the Siebel server database, navigate to the Object Explorer and then Workflow Processes.
- Query for the workflow Alignment - Periodic Runs.
- Lock the project.
- Click Revise.
- Create process properties.
- In the Object Explorer, open the child workflow process properties.
- Create a process property with the values shown in the following table.
|
|
Name |
GoToEnd |
In/Out |
In/Out |
Default String |
FALSE |
Data Type |
String |
- Create a second process property with the values shown in the following table.
|
|
Name |
LastModified Timestamp |
In/Out |
In/Out |
Data Type |
String |
- Right-click and select Edit Workflow Process.
- Edit the arguments of the step INVOKE TOS:
- In the Designer Window, select the step INVOKE TOS, and select Show Input Arguments.
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
Alignment Id |
Type |
Process Property |
Property Name |
Object Id |
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
BatchAssignment |
Type |
Literal |
Value |
TRUE |
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
LastModified Timestamp |
Type |
Process Property |
Property Name |
LastModified Timestamp |
- Edit the arguments of the step Post TOS Process:
- In the Designer Window, select the step Post TOS Process, and then in the MultivalueProperty Window, select Input Arguments.
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
ActiveAlignmentRowId |
Type |
Process Property |
Property Name |
Alignment Id |
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
Alignment Id |
Type |
Process Property |
Property Name |
Object Id |
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
LastModified Timestamp |
Type |
Process Property |
Property Name |
LastModified Timestamp |
- In the Designer Window, select the step Post TOS Process, and then in the MultivalueProperty Window, select Output Arguments.
- Enter an output argument with the value shown in the following table.
|
|
Property Name |
GoToEnd |
Type |
Output Argument |
Output Argument |
GoToEnd |
- Add a new decision step:
- Insert a decision step between the steps Post TOS Process and Load Balancer/AM, connecting the default connector to the step Update Alignment Status to Splitting Tasks, and connecting the condition connector to the step Data Cleanup.
- Select the condition connector, right click it and select Edit Conditions, and then add a condition with the values shown in the following table.
|
|
Compare To |
Process Property |
Object |
GoToEnd |
Operation |
All Must Match (Ignore Case) |
Value |
TRUE |
- Edit the arguments of the step Load Balancer/AM:
- In the Designer Window, select the step Load Balancer/AM, right click it, and select Show Input Arguments.
- Modify the input argument shown in the following table.
|
|
Input Argument |
Alignment Id |
Type |
Process Property |
Property Name |
Object Id |
- Edit the arguments of the step Data Cleanup:
- In the Designer Window select the step Data Cleanup, right click it, and select Show Input Arguments.
- Modify the input argument shown in the following table.
|
|
Input Argument |
Alignment Id |
Type |
Process Property |
Property Name |
Object Id |
- From the File menu, select Save All.
- Exit from the designer.
- Click the Publish button.
- Activate the workflow:
- In the Siebel application, navigate to the Admin-Business Process screen then the Workflow Deployment view.
- Activate the workflow named Alignment - Periodic Runs.
Modifying the TOS Workflows
Use this procedure to modify all of the following workflows:
- Alignment - TOS TM Account
- Alignment - TOS TM Asset
- Alignment - TOS TM Contact
- Alignment - TOS TM Opportunity
To modify the TOS workflows
- Prepare to modify a workflow.
- In Siebel Tools, connected to the Siebel server database, navigate to the Object Explorer and then Workflow Processes.
- Query for the workflow Alignment - TOS TM Account.
- Lock the project.
- Click Revise.
- Create process properties:
- In the Object Explorer, open the child workflow process properties.
- Create a process property with the values shown in the following table.
|
|
Name |
BatchAssignment |
In/Out |
In/Out |
Data Type |
String |
Default String |
FALSE |
- Create a second process property with the values shown in the following table.
|
|
Name |
LastModified Timestamp |
In/Out |
In/Out |
Data Type |
String |
- Right-click and select Edit Workflow Process.
- Edit the arguments of the step Process TOS Object:
- In the Designer Window, select the step Process TOS Object.
- In the MultivalueProperty Window, display Input Arguments.
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
LastModified Timestamp |
Type |
Process Property |
Property Name |
LastModified Timestamp |
- Enter an input argument with the values shown in the following table.
|
|
Input Argument |
BatchAssignment |
Type |
Process Property |
Property Name |
BatchAssignment |
- You have modified the Alignment - TOS TM Account workflow, and you must repeat Step 1 through Step 4, to modify the following workflows:
- Alignment - TOS TM Asset
- Alignment - TOS TM Contact
- Alignment - TOS TM Opportunity
- From the File menu, select Save All.
- Exit from the designer.
- Click the Publish button.
- Activate the workflow.
- In the Siebel application, navigate to the Admin-Business Process screen then the Workflow Deployment view.
- Activate the following workflows:
- Alignment - TOS TM Account
- Alignment - TOS TM Asset
- Alignment - TOS TM Contact
- Alignment - TOS TM Opportunity
Modifying the Repository and Compiling
Use the following procedure to modify the repository. To modify the repository and compile
- Prepare to modify a business service.
- In Siebel Tools, connected to the Siebel server database, navigate to the Object Explorer and then Business Service.
- In the Name field, query for target Object Selector Service.
- Create user properties.
- In the Object Explorer, open the child business service user properties.
- Create a user property with the values shown in the following table.
|
|
Name |
Batch Assignment BC Map InDirect:TM Account |
Value |
TOS Account |
- Create a second user property with the values shown in the following table.
|
|
Name |
Batch Assignment BC Map InDirect:TM Asset |
Value |
TOS Asset |
- Create a third user property with the values shown in the following table.
|
|
Name |
Batch Assignment BC Map InDirect:TM Contact |
Value |
TOS Contact |
- Stop the Siebel server.
- Compile the srf file with the new business service.
- Start the Siebel server.
|