FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

English (US)
FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)
  • Log in
  • Home
  • Platform
  • ESM
  • Other Technical ESM Documentation
  • Handler Documentation

Handler - AutoEntityCreation

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Service Management
    Matrix42 Professional Solution Matrix42 Core Solution Enterprise Service Management Matrix42 Intelligence
  • Identity Governance and Administration (IGA)
    IGA overview IGA solution library
  • Platform
    ESM ESS2 ESS Efecte Chat for Service Management Integrations Add-ons
  • Release Notes for M42 Professional, IGA, Conversational AI
    2026.1 2025.3 2025.2 2025.1 2024.2 2024.1 2023.4 2023.3 2023.2 2023.1 2022.4 2022.3 Release Information and Policies
  • Other Material
    Terms & Documentation Guidelines Accessibility Statements
  • Services
+ More
    • Service Management

    • Identity Governance and Administration (IGA)

    • Platform

    • Release Notes for M42 Professional, IGA, Conversational AI

    • Other Material

    • Services

Handler - AutoEntityCreation

AutoEntityCreation handler creates a new data card automatically when a data card containing an attribute with AutoEntityCreation handler is created. (Please note that similar functionality can also be implemented with a listener.)

Uniqueness check is ignored for attributes that are included in an automatically created data card.

 

An automatically created data card is created on a template that is denoted by its template code in the metadata of the parent attribute. Also, attributes that are included in an automatically created data card must be denoted by their attribute codes in the parent attribute's metadata. Hereby, the attribute values that an automatically created data card gets are fetched from the parent data card according to the attributes that are denoted in the parent attribute's metadata. It is possible to create more than one data card automatically, as long as they base on different templates.

In order to succeed in creating a parent and an automatically generated data card, the creator must have the Create permission to both templates.

 

The folder where the automatically created data card is created to can be specified in the parent attribute's metadata. If the folder is not specified, an automatically created data card is located in the same folder as the parent data card. If more than one data card is created automatically, they can be created into different folders.

The user has to have a Create permission to the folder to where the data card will be stored.

 

If the parent attribute's data card is reference, the attribute references to the automatically created data type. Remember to define attribute as multivalue, if you want to create more than one datacard automatically. Otherwise all the cards are created, but only one of the cards is referenced.

AutoEntityCreation handler metadata:

For example, when you create a new server, you can use AutoEntityCreation handler to create a system-monitoring data card simultaneously.

To function as intended, one template should have only one AutoEntityCreation handler at a time. If a template includes more than one attribute with an AutoEntityCreation handler, the one that functions is selected at random.

The following tables provide information on the attribute settings and metadata requirements for AutoEntityCreation handler. Compulsory metadata is provided in a Required attribute metadata table including proposals for possible metadata values.

Table 1. Attribute Settings

Handler name Datatype
AutoEntityCreation String or Reference

Table 2. Required Attribute Metadata

Name Value Description
templateCode attributeCode

In the Name field, enter the template code of a template, on which you want to base the automatically created data card.

 

In the Value field, enter the attribute code of an attribute from the automatically created data card. The attribute must belong to the template you denoted in the Name field and its datatype should be a reference or a string. If the data type is reference, it will point to the data card containing the attribute which has an AutoEntityCreation handler. If the data type is string, the value will be the name of the data card containing the attribute with AutoEntityCreation handler. You can leave Value field blank, and a data card will still be created (this will also happen if the datatype of the attribute is not a reference or a string).

 

Notice that you can define multiple template codes, each in its row.

map_templateCode_attributeCode attributeCode

In the Name field, replace templateCode with the code of the template, on which you want to base the automatically created data card. Again, in the Name field, replace attributeCode with the code of the attribute you want to include in the automatically created data card.

 

In the Value field, enter the attribute code of the data card that contains the AutoEntityCreation handler. The value of that attribute will be copied to the created data card into the attribute denoted in the Name field. Notice that you can define multiple attribute codes each in its row.

Table 3. Optional Attribute Metadata

Name Value Description
folder_templateCode folderCode

Defines the folder where the automatically created new data card is created. (If this metadata is not configured, the new data card will be created in the same folder as the parent data card).

 

In the Name field, replace templateCode with the code of the template.

 

In the Value field, enter the folder code of the folder where you want to place the created data cards basing on a template specified in the Name field.

handler autoentitycreation

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Related Articles

  • Attribute Metadata - ReferenceSearchFilter

Copyright 2026 – Matrix42 Professional.

Matrix42 homepage


Knowledge Base Software powered by Helpjuice

0
0
Expand