Siebel Business Process Designer Administration Guide > Reference Materials for Siebel Workflow > Passing Parameters to and from Workflow and Data Manipulation within Workflows >
Manipulating Data Within Workflows
You can manipulate data within workflow processes. This section explains how to access run-time event parameters from workflow processes. To access run-time event parameters from workflow processes
- Set up a run-time event for each applet that is required to trigger a workflow process.
Fill in the fields of the WF Step Branch applet. Example field values are shown in the following table.
|
|
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. |
- Set up your process properties in Process Designer as usual. For information on using process properties, see About Process Properties.
- Drill down into the first step in your workflow process and add a new output argument for each process property you want to populate using run-time events. Add new output arguments by filling in the fields of the Output Arguments applet. Example field values are shown in the following table.
|
|
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 |
- Activate the workflow process. For more information, see Deploying Workflow Processes.
- Since the workflow process includes run-time events, you must load the run-time events.
- From the application-level menu, choose Navigate > Site Map > Administration - Runtime Events > Events.
- From the applet menu, select Reload Runtime Events.
- From the Events view tab, find the run-time event that is associated with the workflow run-time event that you created. As an example, you can query for the InvokeMethod event on the Opportunity List Applet object.
- Drill down on the Action Set Name. The Actions view is shown in the following figure.
- Add a new Action for each process property that will be populated using run-time events. For example, you can create a new action to set the ACU Transaction ID and call it Set ACU Trans ID.
- 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 Process 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).
- Make sure the Sequence setting of the Workflow_XXXXXXX Action is the highest number so that this action happens after all the other actions.
NOTE: Whenever you modify the workflow process, you must repeat this step because modifying a workflow process resets the workflow action's sequence to 1.
- From the applet menu, select Reload Runtime Events.
|