To form a request sample, perform the following steps:

  1. Navigate to Service Request Management → Request Templates.
  2. Click New and fill in the fields.
  3. Click Save or Save and Exit to apply changes.

Attributes

FieldMandatoryDescription
NameYRequest name.
TableNReference to the table containing the request instances. Such instance generates when the template state is changed to Published. This field is read-only.
ServiceYReference to the configuration items table with the pre-defined filter (CI Type is IT-service).
Request DescriptionYReference to the Knowledge Base articles table with the pre-defined filter (All > Content Item Class is Request Description).
Request ModelYReference to the Knowledge Base articles table with the pre-defined filter (All > Content Item Class is Request Model).
Request CategoryYReference to the requests category table.
OrderN

This field specifies the order of request templates in the request list.

Fill in this field with the integer number to display the request lists by the value of this field increases. 

ActiveN

This field is responsible for the template displaying on the portal. If "Active" = TRUE, then a template is displayed; otherwise, it is not displayed.

The logic of this field works only when in the sys_service_portal table, the object with the name congruent with the value from the Name field exists.

StateNThe trigger to create a table containing instances of the sample request. Now, the trigger is when the template state changes to Published.
ImageNAttach an image if needed.
DescriptionNEnter brief information about the request template. 

Behavior

For the templates that have the Table field filled in, UI action (buttons) appear to create the objects:

  • Client Script
  • Business Rule
  • Column.

The Table field is pre-filled with data from the Table field of the current template on the form of every new object. There are synthetic related lists on the form containing information about the columns, client-side scripts, business rules for the table specified in the Table field.

If the Table field for the template is not filled in, then UI actions and synthetic-related lists described below do not appear.

Common features

All tables generated by templates have common characteristics:

  • Title = value from the Name field
  • parent = Request
  • the value of the name field generates as follows: “itsm_request_sc_” + the last number for this type of table + 1

For every table, two views are created:

  1. Default (the view for those who will handle requests within the system)
  2. Service Catalog (the view used on the portal).

This is the field pool for the Default view:

  • number
  • requested_by
  • master_it_service
  • service
  • related_cis
  • contact_type
  • state
  • impact
  • urgency
  • priority
  • assigned_user_id
  • assignment_group
  • subject.

The following common business rules work for tables :

  • Specifying the request_template field value
  • Specifying the requested_by field value.

Also, the common feature is the dependence of the request task related to the current request.

If the request has the State = Authorization, then its request tasks will have the state “Waiting Authorization." If the request state has any other state, then its request tasks will have the state "Pending."

  • No labels