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.

Swedish
FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)
  • Log in
  • Home
  • Plattform
  • ESM
  • Annan teknisk ESM-dokumentation
  • Lyssnare

ESM-lyssnare XML-struktur

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.

  • Tjänstehantering
    Matrix42 Professional Lösning Matrix42 Core lösning Hantering av företagstjänster Matrix42 Intelligens
  • Identitetsstyrning och administration ( IGA )
    IGA översikt IGA lösningsbibliotek
  • Plattform
    ESM ESS2 ESS Efecte Chat för tjänstehantering Efecte-integrationer Tillägg
  • Versionsinformation för M42 Core & Pro , IGA , konversations-AI
    2025.3 2025.2 2025.1 2024.2 2024.1 2023.4 2023.3 2023.2 2023.1 2022.4 2022.3 Publiceringsinformation och policyer
  • Annat material
    Villkor och uid Tillgänglighetspolicyer
  • Tjänster
+ More
    • Tjänstehantering

    • Identitetsstyrning och administration ( IGA )

    • Plattform

    • Versionsinformation för M42 Core & Pro , IGA , konversations-AI

    • Annat material

    • Tjänster

ESM-lyssnare XML-struktur

Se följande exempellyssnare i FirstListener.xml

<?xml version="1.0" encoding="iso-8859-1"?>
<template code="test_listeners" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=".../src/main/com/efacte/datamodel/entity/listener/importing/listener_import.xsd">
  <listener>
    <name>pre save.1. If color changes to Blue, set amount to 99</name>
    <trigger>pre save</trigger>
    <source_condition boolean="AND">
      <property>
        <attribute>
          <code>color</code>
          <current_value>true</current_value>
        </attribute>
        <operator>!=</operator>
        <compared_attribute>
          <code>color</code>
          <current_value>false</current_value>
        </compared_attribute>
      </property>
      <source_condition>
        <value>
          <attribute>
            <code>color</code>
            <current_value>true</current_value>
          </attribute>
          <operator>==</operator>
          <compared_value>Blue</compared_value>
        </value>
      </source_condition>
    </source_condition>
    <action_chain>
      <name>Set amount to 99</name>
      <action>
        <name>Set amount</name>
        <class>com.efacte.datamodel.entity.action.implementations.ChangeDataCardValuesAction</class>
      </action>
    </action_chain>
  </listener>
</template>

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • ESM-lyssnares livscykel

Copyright 2026 – Matrix42 Professional.

Matrix42 homepage


Knowledge Base Software powered by Helpjuice

0
0
Expand