Siebel Insurance Guide > Business Services for Siebel Financial Services > SmartScript Integration with Workflow >

Example of Integrating SmartScript with Workflow


The scenario outlined in this topic 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 might 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.

To configure SmartScript integration with Workflow

  1. 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.
  2. Create a Business Service step for your workflow, using the FINS Web Shopping Service business service, and enter the input arguments described in Table 58.
  3. Create a subprocess to 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.
    1. In the user interact step, set the view name to FINS SmartScript Player View (App).
    2. In the Next Step's applet, add two conditions, entering the information listed in the following tables:

      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

      CancelScript

      Entries 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

  4. Add a Business Service step using the FINS SmartScript Output Service business service. Enter the output arguments described in Table 59.

Now you might either end your workflow process or include additional steps, depending on your company's business requirements. The SmartScript is integrated in your workflow process.

Siebel Insurance Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.