Developing and Deploying Siebel Business Applications > Siebel Business Process Designer > Creating a Workflow Process >
Using Workflow Process Features in Siebel Tools
Figure 42 shows the Workflow Process Designer with the steps for the current example.
Figure 42. Workflow Process Designer View with Flowchart of Current Example
|
To create a workflow process in Siebel Tools
- Set Siebel Tools to display all objects within the Workflow Process hierarchy.
- Choose View > Options.
- Click the Object Explorer tab.
- For the Workflow Process object, select every object in its hierarchy and then click OK.
- In the Object Explorer, click Workflow Process.
- Enter a new record with the values as shown in the following table.
|
|
|
Name |
NREC New Opportunity Notification |
Unique name that identifies the process. |
Business object |
Opportunity |
Business object is Opportunity because the goal is to trigger an action based on changes to the Opportunity record. The pick list contains only those business objects that have a primary business component defined. |
Project |
NREC Configuration |
|
- Right-click on the record and choose Edit Workflow Process.
A Workflow Process palette and workspace appear.
- Drag appropriate icons from the palette to the flowcharting workspace.
Notice that different shapes and colors are used to represent different types of steps. In the current example, a pink rectangle represents a business service. For information about the different types of steps, read Siebel Business Process Framework: Workflow Guide.
- Drag connectors from the palette to the flowcharting workspace to connect the steps of the process, as shown in the following illustration.
- In the WF Steps window, edit the name for each step as shown in the following table.
|
|
Start |
Start: NREC New Opp Email |
Business Service |
Business Service: Send Email |
End |
End: NREC New Opp Email |
- For the Business Service step, make these additional settings as shown in the following table.
|
|
Business Service |
Outbound Communications Manager |
Business Service Method |
CreateRequest |
- In the workspace, select the Business Service step. Right-click and choose Show Input Arguments.
The Input Arguments window appears below the workspace.
- In the Input Arguments window, add the records as shown in the following table. When picking an Input Argument using the Business Service Method Arguments window, search on the Name field.
Table 13. Field Values for Input Arguments
|
|
|
|
PackageNameList |
Literal |
NREC Email Message |
|
RecipientGroup |
Literal |
Opportunity Sales Team |
|
RequestName |
Literal |
NREC Request |
|
SourceIdList |
Process Property |
|
Object Id |
For a detailed description of the arguments required for predefined business services, read Siebel Business Process Framework: Workflow Guide.
- In the Object Explorer, click Workflow Process to redisplay the list of workflows.
- Select the NREC New Opportunity Notification workflow process.
- Click Deploy (the button is located between the window title "Workflow Processes" and the field headings).
The status changes from "In Progress" to "Completed."
After the workflow has a status of Completed, the next task is to deploy it in the Siebel application. To deploy a workflow process
- Log in to the client software as an administrator.
- Navigate to Administration - Business Process > Workflow Deployment and query for the workflow you just deployed.
- With the workflow process selected, click Activate.
This checks the syntax for validity, registers run-time events if used, and changes the status of the process to Active. It also changes the status of the previous active version to Outdated.
- Check the Active Workflow Processes list (below the Administration - Business Process list) to make sure the NREC New Opportunity Notification workflow process is listed and has a status of Active.
Now you must create a policy that calls this workflow process. A Workflow policy consists of a condition and an action. The action in this example is to invoke the Account Status Change process. For instructions on defining the action and conditions, read the following section, Creating a Workflow Policy.
|