Resource models

Introduction to resource models in ConSol CM

Resources are managed with CM/Resource Pool, an optional module which extends the ConSol CM database to manage additional data objects. They are used to store assets which are relevant for the business process. The resource model determines which kind of resources exist, their data fields, the available actions and the templates used in the various places of the Web Client.

Concepts, terms and definitions

Concept

Other terms

Definition

resource

 

Asset used in the business process; always belongs to a resource type

resource type

 

Lower hierarchical level of the resource model; defines the data model used for its resources; basis for assigning permissions and determining the available activities and relations

resource category

resource group

Upper hierarchical level of the resource model; can contain several resource types

resource field

 

Data field of a resource type

resource field group

 

Set of data fields for resources

resource model

 

Hierarchical data model for resource objects, which contains resource categories on the upper hierarchical level and resource types on the lower hierarchical level

resource action

resource activity

Action for resources of a certain type, can either be executed automatically in a specific situation or manually in the Web Client

Purpose and usage

Resources are assets which are relevant for the business process. Usually, they are linked to the cases which handle requests concerning the asset, or to the contacts to which the assets belong. Examples for resources are components of the IT infrastructure for a helpdesk process, or products for a sales process.

Resources always belong to a resource type, which defines the used data model, and the available relations and actions. The data models are created and managed on the Resource models page. A resource model consists of one or several resource categories. Each category can contain any number of resource types. The category is used for display and grouping purposes. The actual resource objects are always based on a resource type.

Permissions are granted by resource type, see Permissions for resources.

In the Web Client, CM/Resource Pool can be accessed using the resource dashboard. See Dashboards for hints about configuring the dashboard.

You can change the term used for resources on the Labels page.

CM/Resource Pool needs to be licensed separately.

Settings for resource categories

The following settings are available for resource categories:

Settings for resource types

The settings for resource types are grouped in four tabs:

Basic tasks

Defining a resource model

The structure of the resource model depends on the assets you manage with CM/Resource Pool. You can create as many resource categories and resource types as needed.

Please proceed as follows to create a resource model:

  1. Click the New resource category button on the Resource models page. Enter a name for the category, select an icon and click the Create category button to save the resource category.

  2. Select the resource category and click the New resource type button. Make the desired settings for the resource type, see Settings for resource types and click the Create type button to save the resource type.

Managing resource categories

Resource categories are managed on the Resource models page of the Web Admin Suite. The following actions are available:

Managing resource types

Resource types are managed on the Resource models page of the Web Admin Suite. You need to select the resource category which the resource type belongs to and select the resource type in the Types tab.

The following actions are available:

Advanced tasks

Defining resource templates

Resource templates are needed to define which data fields should be used for the display name of the resource. They are assigned to a resource type in the Templates tab of the resource type. The Default template must be provided to display the resource correctly in the Web Client. If needed, you can overwrite the settings of the default template by providing a dedicated template for a specific location. The following templates are available:

The following example shows a resource template consisting of two resource fields and “PC” to indicate the resource type. The current resource is available as resource.

PC: ${resource.getFieldValue("basic","name")!} - ${resource.getFieldValue("basic","model")!}

See Syntax examples for further examples.

You can create the code with the template generator by clicking the Template generator icon in the editor header and selecting the desired fields.

Do not use line breaks in template statements.

Understanding access modes

The access mode of a resource type defines whether the resources are saved in the ConSol CM database or in an external system. External resources cannot be created in the Web Client. There are four modes:

Adjusting the resource dashboard

The resource dashboard is displayed when the user clicks the Resource pool link in the main menu. By default, it contains a bar chart with the number of resources of the different resource types in each resource category. The bar chart is configured in the script resourcesDashboard.groovy. Below the chart, there is a box for each resource category which contains a link to access the list of resources for each resource type and a link to create a new resource of the respective resource type.

You can configure the dashboard using the page customization, see Dashboards.