Resource actions

Introduction to resource actions in ConSol CM

Resource actions allow execute scripts for resources. In addition, it is possible to display a form on the resource page or above the detail search in scope of a resource action. They are assigned to resource types.

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 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 form

 

Form which is displayed on the top of the page when executing a manual or search action

action script

 

Script of the type Resource action or Search action for resources which implements the logic to be executed

Purpose and usage

Resource actions can be either automatically executed when a certain event occurs or be executed manually by a user in the Web Client.

The following types of actions are available:

Manual actions can include a form, which is displayed at the top of the page and needs to be filled out to perform the action.

The availability of the action can be determined by script. If the condition script returns “true”, automatic actions are executed and manual actions are shown in the Web Client.

Users need the permission “Act” for the resource type in order to perform manual and search actions.

Examples for resource actions are actions to update resource data from an external system, or to create a case based on certain parameters which are entered in the action form.

Settings for resource actions

The following settings are available for resource actions in the Basic tab.

Settings for actions forms

For manual and search actions, the Form tab is available. It allows to select a form which should be displayed when executing the action (optional). The following settings are available:

Basic tasks

Using resource actions

Please perform the following steps to use a resource action:

  1. Create a script of the type Resource action or Search action for resources, see Action scripts. This can be done either on the Scripts page or by entering the desired name in the Action script selector and choosing the create option.

  2. If needed, create a script of the type Resource condition or Search condition for resources, see Action scripts. This can be done either on the Scripts page or by entering the desired name in the Condition script selector and choosing the create option.

  3. Create a resource action on the Resource actions page.

  4. Assign the resource action to a resource type on the Resource models page, see Managing resource types

Managing resource actions

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

Advanced tasks

Working with resource action scripts

The following scripts are relevant for resource actions:

You can find details about programming action scripts in Action scripts.