Configure Context Attributes
Context attributes are defined as part of the process context and are pushed together with the events.
Context
You can configure the context attributes that are pushed along with events to your visibility scenario.
Procedure
- Choose the required context attribute present under the Context section in the left pane.
- Optional: You can edit some of the General Properties of the context attributes.
-
You can choose one of the following data types for the context attributes: String, Double, Integer, Timestamp, Date, Time, Duration.
-
If you have chosen Double or Integer data type, you can select one of the following Unit types:
Unit Type
Description
Constant
The unit value is static.
Attribute
The unit value can be an attribute chosen from the dropdown list. This value is dynamically resolved at runtime.
None
No unit is defined for the measure attribute.
-
- To define where the attributes are displayed in the Process Workspace, choose one of the following in the Display In dropdown list:
Name
Display View
Key (Instances and Instance Details Views)
Displays the attribute in the Instances View as a column in the instances table.
Significant (Instance Details View)
Displays the attribute in the Instances Details View as a field in the information tab.
Internal
By default, the attribute is not displayed in the Instances View or the Instance Details View. However, you can choose the required attribute in the View Settings dialog box present under the Settings option to display it in the Instances View.
- By default, the Archivable check box is selected. You can uncheck the box to exclude the attribute from being archived. For more information, see Download Archived Data.
- Optional: Navigation link enables business users to navigate to different applications and find more information on a particular attribute. To configure the navigation link corresponding to an attribute, toggle the Configure Navigation Link button and provide the application URL.
The application URL can be configured in the following ways:
-
For Business Process Project, the application URL can be configured in the following ways:
-
Environment Variable can have the environment variable of the type Destination. Choose the required environment variable from the drop-down menu.
The Destination created on SAP BTP cockpit can be configured in the following ways:-
Destination can have the complete application URL.
-
Destination can have the host to connect to, and the relative URL as part of the Path attribute.
-
-
Path can have the complete application URL.
-
-
For Live Process Project, the application URL can be configured in the following ways:
-
Path can have the complete application URL.
-
Destination configured on SAP BTP cockpit can have the complete application URL.
-
Destination configured on SAP BTP cockpit can have the host to connect to, and the relative URL as part of the Path attribute.
-
The destination you provide is the destination specified in the consumer subaccount and you can add an additional custom property bpmprocessvisibility.navigationLink = true to the destination when configuring destinations in the SAP BTP cockpit and this destination appears in the dropdwon list of the Destination field under the Navigation Link section.
To configure destinations, use the standard SAP BTP mechanisms in the SAP BTP cockpit. For more information, see Managing Destinations.
-
- Optional: To change the order of the attributes representation in the Process Workspace, choose Order Attibutes and select any of the following options:
-
Instances View to arrange the attributes in the desired order as columns in the scenario instances view.
-
Instance Details View to arrange the attributes in the desired order to be displayed in the scenario instance details view.
You can use the navigation icons to reorder the attributes.
-
- Choose Save.