Although a predefined view is provided for the process instances
for business state machines, you might want to define your own views for this
type of process instance.
Before you begin
To create customized views, you must have BPCSystemAdministrator authorization.
Steps for this task
- Click Define Views in the taskbar.
- In the Search and Define Views page, select Search
and Define Views for Process Instances.
- Click the Custom Properties tab.
- Add a custom property with the following settings.
Type generatedBy in
the Property Name field, and BusinessStateMachine in
the Property Value field.
- Add other custom properties as needed.
- Click the List Properties tab.
- In the List Columns for Query Properties, add
the following query properties.
- To add business state information to the view, type name in
the Property Name field, DisplayState in
the Variable Name field, and tns in
the Namespace field, where tns is
the target namespace of the business state machine suffixed by -process.
Also specify a display name for the column in the Display Name field.
- To add correlation information to the view, provide the appropriate information
in the Property Name field, the Variable
Name field, and the Namespace field. These
values are derived from the definition of the business state machine. Also
provide a display name for the column in the Display Name field.
- Property Name
- The name of the correlation property that you defined for the business
state machine.
- Variable Name
- If the correlation set is initiated by incoming parameters, the variable
name has the following format:
operation_name_Input_operation_parameter_name
where operation_name is the name of the operation for the transition
out of the initial state.If the correlation set is initiated by outgoing
parameters, the variable name has the following format:
operation_name_Output_operation_parameter_name
- Namespace
- The namespace of the query property, where tns is
the target namespace of the business state machine suffixed by -process.
- Add other custom properties or query properties, or add columns
to or remove columns from the list of selected columns.
- Type a name for the query in the List Name field,
and click Save.
- Add the view to the navigation pane.
- Click Customize in the taskbar.
- In the Customize Navigation Tree and Login View page,
select the new business state machine view.
- To save your changes, click Save.
Result
A link to the business state machines view is added to the Process
Instances group in the navigation pane. Your users see this view
the next time they log into Business Process Choreographer Explorer.