Custom GenericAgent Module: find trigger?

Moderator: crythias

Post Reply
martinv2
Znuny newbie
Posts: 13
Joined: 30 Jun 2014, 14:49
Znuny Version: 6.4.4
Real Name: Martin Vorländer
Company: PDV-Systeme GmbH
Contact:

Custom GenericAgent Module: find trigger?

Post by martinv2 »

Hi all!

I'm writing a custom GenericAgent module that calls multiple webservices to get/pass data from/to an external system. The module itself does already work nicely. The GenericAgent is configured to be triggered by various ticket and article events.

Is there a way for the custom GenericAgent module to find out which event was triggered? I need this to tailor the data sent to the external system.

TIA,
Martin
OTRS 6.4.4, Ubuntu 20.04.5 LTS with MariaDB 10.3.37
Post Reply