Bookshelf Home | Contents | Index | PDF |
Siebel Business Process Framework: Workflow Guide > About Workflow Process Steps and Connectors > About Workflow Process Step Types > About the Sub Process StepThis topic describes the main parts for creating a Sub Process step. A Sub Process step allows you to invoke a separate process from within a process. A workflow process can have one or more Sub Process steps. You can also define a Sub Process step to support Pass By Reference. For more information, see Passing a Process Property In and Out of Workflow Steps and Defining a Sub Process to Support Pass By Reference. When using the Process Simulator, you must publish and activate a subprocess called by the workflow process you are simulating prior to invoking the simulator. For more information, see Using the Simulator With a Workflow Subprocess. For a description of Sub Process step properties, see Table 106. Defining a Sub Process StepBefore you define a Sub Process step, you must define the workflow process that calls the step. Once a Sub Process step is created within a workflow, to directly edit the corresponding subprocess definition, double-click the Sub Process step to reach the design canvas for that subprocess. You can also right-click the Sub Process step, then choose Edit Sub Process. Perform the procedure described in Adding a Step to a Workflow Process with the following modifications:
Defining an Input Argument for a Sub Process StepAn input argument allows you to populate process properties in the Sub Process step. For example, the Object Id is passed from the main workflow process to the sub-workflow process through an input argument. If the subprocess is based on a different business object, you must pass the relevant row ID of the target object as the subprocess Object Id Process Property. NOTE: The Object Id passed to a subprocess must not contain the Object Id of the parent process if the subprocess creates a child object. When a subprocess creates a child object, it is recommended the Object Id passed to a subprocess be null. Copying Values from a Parent Process to a SubprocessYou can copy a value to a record being updated or inserted in a subprocess by creating a process property in the subprocess and assigning the value to it through the Sub Process Input Arguments applet in the Sub Process step. The process property can then be used in the subprocess's Siebel Operation step. In the example below, you copy an order's Order Name into the Name field of a newly created Opportunity. To copy a value to a record being updated or inserted in a subprocess
Defining a Sub Process to Support Pass By ReferenceIn some instances a subprocess can modify large amounts of data, requiring the subprocess to copy large quantities of data that negatively impacts performance and scalability. In such cases, you can use the Pass By Reference feature so that a pointer to the data is passed, but not the data itself. The example displayed in Figure 15 displays an example workflow process that passes a large property set created by the Create Siebel Message step to the 11i Process Order step. When you configure a Sub Process step to support Pass By Reference, it is not necessary to map the output argument in the Sub Process step for the hierarchical properties that you are passing. The Sub Process step overwrites the passed input hierarchical argument. Optionally, you can have the Sub Process step modify the passed input hierarchical argument. |
Siebel Business Process Framework: Workflow Guide | Copyright © 2008, Oracle. All rights reserved. | |