Siebel Business Process Framework: Workflow Guide > About Siebel Tools and Process Properties > About Process Properties >
Concatenating a Process Property
You can use process property values in your expressions by concatenating workflow process properties with other process properties or with text. The following example illustrates how four process properties can be used in a workflow to concatenate three string values. The three process properties have values in the Default String property of Welcome , to , and Siebel . To create a workflow process that concatenates process properties
- In Siebel Tools, in the Workflow Processes OBLE, create a new workflow process object definition with the following values:
Property |
Value |
Process Name |
Concatenate |
Business Object |
Account |
Workflow Mode |
Interactive Flow |
To view an example, see Creating a New Workflow Process Object Definition.
- Open the Process Designer for the workflow process you created in Step 1, then create a workflow that resembles the workflow in the following diagram:
For more information, see About Workflow Process Steps and Connectors, and Diagramming a Workflow Process.
- In the MVPW, create four process property records using values from the following table:
|
|
|
|
|
ProcessProperty1 |
In/Out |
Account |
Welcome |
String |
ProcessProperty2 |
In/Out |
Account |
to |
String |
ProcessProperty3 |
In/Out |
Account |
Siebel |
String |
ProcessProperty4 |
In/Out |
Account |
(no value) |
String |
For more information, see About the Multi Value Property Window.
- Click the wait step then click the Output Arguments tab in the MVPW.
Note that the wait step is often used for testing and development. For more information, see About the Wait Step.
- Define an Output Argument for the wait step using values from the following table:
|
|
|
Expression |
ProcessProperty4 |
[&ProcessProperty1]+' '+[&ProcessProperty2]+' '+[&ProcessProperty3] |
The ampersand (&) identifies the text immediately following the ampersand as the name of a process property. The process property you indicate can also be the name of a business component field. ProcessProperty1, ProcessProperty2, and ProcessProperty3 can be of many different types, such as string and date. The Value property in this example must be set to String type.
- Validate then Simulate the workflow process.
For more information, see Process of Testing a Workflow Process.
- After control returns to Tools, right-click the Simulation window, then choose Watch Window.
- In the Watch window, expand PS:Property Set, then note the values for the four process properties you defined in Step 3.
- Click the Simulate Next button. In the Watch window, note that ProcessProperty4 now contains a concatenation of values from ProcessProperty1, ProcessProperty2, and ProcessProperty3.
|