Defining an Approval Block for the Service Request Business Object
Determining the Approver Field
|
1.
|
Within the Configuration Console, click Business Objects, then select ServiceRequest. The Service Request Details page appears. |
|
2.
|
Click the Object Fields tab. The service request fields are listed. |
|
3.
|
Click DefaultApprover. The DefaultApprover field is a pick list and it uses the list name Contacts in Contact Store. |
Default Approver Pick List
Determining the Pick List Value
|
1.
|
From the Home tab, click Pick Lists. The pick lists are listed. |
|
2.
|
Click LoginID of Employee. The Validation List page appears. |
|
3.
|
The value of the List Name field is LoginID of Employee. |
Validation List
Creating an Approval Workflow
|
1.
|
From the Home tab, click Business Objects, then select ServiceRequest. The Service Request Details page appears. |
|
2.
|
Click Workflows. The workflows are listed. |
|
3.
|
Click Add New. (Optional. You can modify an existing workflow instead.) The Add New Workflow page appears. |
|
4.
|
Enter information as needed in the following fields: |
Business Object |
Service request. |
List Name |
A unique name for the workflow. Do not use spaces. |
Display Name |
The name as it appears in a form. |
Description |
A description of what the workflow does. |
Add New Workflow Page
|
5.
|
Click Save. The workflow page appears. |
|
6.
|
Click Add Version. The Workflow Editor appears. |
|
7.
|
Drag and drop the Get Approval block onto the Workflow Editor. |
|
8.
|
Double-click the Get Approval block header and set the following |
|
9.
|
Select User from Context BO field/Service Request Parameter and select LoginId from the drop-down list. |
|
Because contact group is not an object field by default in the service request business object, this use case describes specifying a default approver from the business object in context option and not from a contact group from a business object in context.
|
Get Approval
Now the service request workflow is set up to get approval from the owner of the organization to which the request offering is published.