Item Type
Each item in the UWL has an item type that defines its behavior - most importantly the page to be launched for the user to perform the task. The item type also allows to define additional actions, including decision options for example, mass approval views. Custom attributes can add additional information to the original item.
The UWL list views are strongly based on item types - they determine which items are displayed in the list, and which provider systems are queried for them (see the item type connector attribute).
UWL item types may not be known in the item provider system. The child tag ItemTypeCriteria specifies how an item of external type from the item provider is mapped to a UWL type. Based on the criteria, arriving items are mapped by the UWL service to UWL types.
Item types are hierarchical. Items of type uwl.task.workcenter1.TS001234inherit all actions defined for the parent type uwl.task.workcenter1.
A view which references uwl.task.workcenter1 as supported item type, list all items of that type and all its sub types.
Item types can define actions as menu items that appear as hover menu at the subject within the standard UWL task view. See tag Menu.
Customization of item types for page launch purposes is extensively covered in the task launch customization documentation.
Attribute and Their Description
Attribute |
Description |
name |
Specifies the item type name. Item types are hierarchical as defined by their name, using the '.' (dot) character for separating hierarchy levels: uwl.task.workcenter1.TS001234 is a sub type of uwl.task.workcenter1. An item type definition in a configuration with higher priority can override the same item type in a configuration with lower priority (see also UWL administration documentation for configuration upload). The name should not contain any blanks or special characters. |
connector |
Specifies the connector that fetches these item types. This value can be any of the following. · WebFlowConnector - for SAP Business Workflow Items · AdHocWorkflowConnector- for Java based Collaboration Task items · AlertConnector- for items from the SAP Alert framework · * - for items from all the above connectors The view specifies the types of the items it presents; the item types define with this attribute where the items are retrieved from. |
defaultView |
Specifies the UWL list view name that is tailored for display of this item type. It appears as button View all ... in the preview or detailed view of the items of this type. It also defines the labels of custom attributes of the items through its display attributes. The view with this name has to either reside in the same configuration or in the standard configuration (uwl.standard) which is shipped with the UWL. If unsure of which view to use, use “DefaultView” as the value. |
defaultAction |
Specifies the Action that should be invoked when the subject link of an item is clicked. This Action has to be present in the definition of the ItemType or in any of parent ItemTypes. (Hint: item type a.b.c has the parent item type a.b) |
executionMode |
Specifies whether item should be validated before an action is performed. ● optimistic: item is assumed to be valid and action is invoked, possibly resulting in an error message ● pessimistic: validation is done before hand ● default: execution mode is specified in the UWL service settings by the administrator (either optimistic or pessimistic). |
Child Tags: Caching, ItemTypeCriteria, CustomAttributes, Actions, Menu