Bookshelf Home | Contents | Index | PDF |
Siebel Business Process Framework: Workflow Guide > About Workflow Process Steps and Connectors > About Workflow Process Step Types > About the Business Service StepA business service allows you to execute a predefined or custom action in a workflow process. Some examples of predefined business services include:
For a list of some of the more commonly used predefined business services, see Predefined Business Services. You can also define your own custom business services using Siebel Tools or the Administration-Business Service view in the Siebel client. You can use Siebel VB or Siebel eScript to define your own custom business services that you can invoke from a workflow process. CAUTION: A Business Services invoked from a workflow process cannot include browser scripts. A Business Service only works with server scripts. A business service with browser scripts fails if it is executed from a workflow process on the Siebel Server. Defining a Business Service StepYou define a Business Service step in the Process Designer in Siebel Tools. To define a Business Service step Perform the procedure described in Adding a Step to a Workflow Process with the following modifications:
Making a Business Service Visible to a Workflow ProcessBusiness service objects, which include the business service, business service method, and business service method argument, have Display Name and Hidden properties in Siebel Tools. For these objects to be displayed in a picklist, the Hidden flag for the object must be set to FALSE. For example, the methods and arguments you define in your business service appear in the picklists in the Arguments list applets for the business service. Note that, by default, a business service defined in the Siebel client is not hidden. When creating a workflow definition in Siebel Tools, the value specified for the Name property for business services objects is the value that also appears in the picklists. To make a Business Service visible to a workflow process
About the Pass By Reference Feature for a Business ServiceThe _SupportsPassByRef_ user property is available for use on a Siebel business service. You cannot add this user property to a custom business service. If, in a workflow process, you configure a Business Service step that is not marked for Pass By Reference, the Workflow engine returns an error. For the Workflow engine to honor Pass By Reference, the business service must have the Business Service User Prop setting to TRUE and the Business Service step in the workflow must be marked for Pass By Reference. CAUTION: Use of the Pass By Reference feature is not supported for a custom business service. For more information, see Defining a Sub Process to Support Pass By Reference. Business Service Calls to a Unix Shell ScriptA Siebel process running on UNIX runs as the user that launches Siebel Services. If a workflow process invokes a business service that calls a UNIX shell script, the shell script runs as the Siebel Service Owner account. |
Siebel Business Process Framework: Workflow Guide | Copyright © 2008, Oracle. All rights reserved. | |