Concatenating a Process Property
The example in this topic describes how Siebel CRM can use four process properties in a Workflow Process to concatenate three string values. The three process properties contain the following values in the Default String property:
-
Welcome
-
to
-
Siebel
To concatenate a process property
-
In the Workflow Processes list, create a new Workflow Process with the values shown the following table.
Property
Value
Process Name
Concatenate
Workflow Mode
Interactive Flow
For an example, see Creating the Workflow Process.
-
Open the Workflow Process you defined in step 1, and then create a flow that contains a Start step, followed by a Concatenate step, followed by an End step.
For more information, see Diagramming a Workflow Process and Adding Workflow Process Steps.
-
In the Multi Value Property Window (MVPW) pane, define four process properties with the values shown in the following table.
Name In/Out Default String Data Type ProcessProperty1
In/Out
Welcome
String
ProcessProperty2
In/Out
to
String
ProcessProperty3
In/Out
Siebel
String
ProcessProperty4
In/Out
(no value)
String
Business Object
N/A
Business object of the parent process. The business object determines the business components that are available for conditions. This is a read-only field.
Business object of the parent process. The business object determines the business components that are available for conditions. This is a read-only field.
Created By
N/A
This value is automatically entered based on the log on name of the user.
This read-only value is automatically entered based on the log on name of the user.
Created
N/A
This value is automatically entered.
This read-only value is automatically entered.
For more information, see Using the Multi Value Property Window.
-
Click the Wait step and go to the Output Arguments tab in the MVPW pane.
You can use the wait step to test and develop a Workflow Process. For more information, see Adding a Wait Step.
-
Define an Output Argument for the wait step with the values shown in the following table.
Type Output Arguments Value Expression
ProcessProperty4
[&ProcessProperty1]+' '+[&ProcessProperty2]+' '+[&ProcessProperty3]
The ampersand (
&
) identifies the text that immediately follows the ampersand as the name of a process property. This process property can also be the name of a business component field. ProcessProperty1, ProcessProperty2, and ProcessProperty3 can be of different types, such as string or date.You must set the Data Type property for the process property in this example to String. If you use a binary type with an expression, then an error might occur. You cannot use an expression to set a process property whose Data Type property is set to binary. An example error in this situation is a process property that includes truncated data.
-
Validate and then simulate the Workflow Process.
For more information, see Process of Testing a Workflow Process.
-
After control returns from the Application Object Manager:
-
(Siebel Tools) Right-click the Process Simulator window, and then click Watch Window.
-
(Web Tools) The Workflow Process Data window is automatically open in the Process Simulator and populated with the Process Properties for the Workflow Process.
Note: In Web Tools, the Watch Window is called Workflow Process Data.
-
-
In the Watch window, expand PS:Property Set.
-
Make a note of the values that the Process Designer displays for the process properties you defined in step 3.
-
Click Simulate Next.
In the Watch window, ProcessProperty4 now contains a concatenation of values from ProcessProperty1, ProcessProperty2, and ProcessProperty3.