Siebel Business Process Designer Administration Guide > Passing Parameters to and from Workflow and Data Manipulation within Workflows > Manipulating Data Within Workflows >

Accessing Runtime Event Parameters from Workflows


To access runtime event parameters from workflows

  1. Set up a runtime event for each applet that is required to trigger a workflow process.
  2. Fill in the fields of the Next Steps applet. Example field values are shown in the following table.

    Field
    Value
    Branch Name
    Enter a name for the branch.
    Type
    Condition
    Next Step
    Enter a name for the next step.
    Event Object Type
    Applet
    Event
    InvokeMethod
    Event Object
    Choose the name of the event object that will trigger the workflow.
    Sub Event
    NewRecord
    Comments
    Optional
    Event Cancel Flag
    The default is blank.

  3. Set up your process properties in Process Designer as usual. For information on using process properties, see Using the Process Properties View.
  4. Drill down into the first step in your workflow and add a new output argument for each process property you want to populate using runtime events. Add new output arguments by filling in the fields of the Output Arguments applet. Example field values are shown in the following table.

Field
Value
Property Name
Enter a name for the property.
Type
Expression
Value
GetProfileAttr("RestrucOut")
Note: As you are filling in the Profile Attribute field, make note of the name you give to each of the Profile Attributes property values, for use in Step 8.
Output Argument
Leave as default.
Business Component Name
Leave as default.
Business Component Field
Leave as default.
Comments
Optional

  1. Activate the workflow process. For more information, see Activating a Process.
  2. Since the process includes runtime events, you must load the runtime events.
    1. Navigate to Runtime Events Administration.
    2. From the applet drop-down menu, select Reload Personalization.
  3. From the Events view tab, find the runtime event that is associated with the workflow runtime event that you created. As an example, you can query for the InvokeMethod event on the Opportunity List Applet object.
  4. Drill down on the Action Set Name. The Actions view is shown in the following table.

Click for full size image

  1. Add a new Action for each process property that will be populated using runtime events. For example, you can create a new action to set the ACU Transaction ID and call it Set ACU Trans ID.
    1. For each new action:
      • Set the Action type to Attribute Set.
      • Set the Profile Attribute to match the value you used in the GetProfileAttr call in the workflow designer in Step 3, such as TransType.
      • Set the Set Operator value to Set.
      • Assign the Value field the appropriate value, such as the literal string FA-0001. You assign the value using the standard Siebel expression builder.
      • Set the Sequence for the action to be less than the default sequence (for the Workflow_XXXXXXX Action).
    2. Make sure the Sequence setting of the Workflow_XXXXXXX Action is the highest number so that this action happens after all the other actions.
    3. NOTE:  Whenever you modify the workflow, you must repeat this step because modifying a workflow resets the workflow action's sequence to 1.

    4. From the applet drop-down menu, select Reload Personalization.

 Siebel Business Process Designer Administration Guide 
 Published: 29 May 2003