Bookshelf Home | Contents | Index | Search | PDF |
Siebel Business Process Designer Administration Guide for Financial Services > Predefined Business Services > Predefined Business Services >
SmartScript Integration with Workflow
You can invoke a SmartScript from a workflow process and pass parameters from the SmartScript to the workflow process. These business services support SmartScript integration with workflow:
- FINS Web Shopping Service
- FINS SmartScript Output Service
NOTE: In order to completely understand the concepts in this section, familiarity with SmartScript is required. For more information, see Siebel SmartScript Administration Guide.
Business Scenario
The scenario outlined in this section is an example of how to insert a SmartScript in a workflow process. After the SmartScript ends, the workflow proceeds to the next step in the workflow process. Your company may follow a different workflow that fits its business requirements.
In this scenario, you are designing a SmartScript that allows customers to complete a loan application online. After the loan application is complete, your workflow verifies the customer's address in an external system.
Integrating SmartScript with Workflow
To configure SmartScript integration with Workflow
- In the SmartScript, create Save User Parameters for the parameters you want to pass to the workflow. For more information on SmartScript user parameters, see Siebel SmartScript Administration Guide.
- Create a Business Service step for your workflow using the FINS Web Shopping Service business service.
- Enter the input arguments described in Table 102.
- Create a subprocess that will invoke the SmartScript using the workflow User Interact step. The subprocess is based on the SmartScript Player business object and has three steps: a start step, a user interact step, and an end step.
- In the user interact step, set the view name to "FINS SmartScript Player View (App)".
- In the Next Step's applet, add two conditions, entering the information listed in the tables below:
Entries for Record 1 (first condition):
Field Entry Branch Name Cancel Type Condition Next Step End Event Object Type Applet Event Invoke Method Event Object Smart Script Player Applet (FINS eSales App) Subevent CancelScriptEntries for Record 2 (second condition):
Field Entry Branch Name Finish Type Condition Next Step End Event Object Type Applet Event Invoke Method Event Object Smart Script Player Applet (FINS eSales App) Subevent FinishScript
- Add a Business Service step using the FINS SmartScript Output Service business service. Enter the output arguments described in Table 103.
Now you may either end your workflow process or include additional steps, depending on your company's business requirements. The SmartScript is integrated in your workflow process.
FINS Web Shopping Service Methods
The FINS Web Shopping Service business service methods are described in Table 102.
FINS SmartScript Output Service Methods
The FINS SmartScript Output Service business service methods are described in Table 103.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Business Process Designer Administration Guide for Financial Services Published: 22 May 2003 |