The ECS Insert event is triggered when data is inserted into ECS, i e:
- When
cancelBatch
is called from a batch workflow. - When UDRs are sent to ECS via an ECS Forwarding agent.
Examples ECS Insert Event
Example - ECS Insert Event notification sent as mail
This configuration will give you the following notification setup:
When a batch is inserted in ECS, an ECS Insert event notification will be generated
When this notification is generated, a mail will be sent to the mail address my.mail@mycompany.com, containing the following data:
A subject line saying: ECS Insert event - Batch
A message saying: A batch has been inserted into ECS: <the ECS message>.
Example - ECS Insert Event notification saved in the database
This configuration will give you the following notification setup:
When an ECS Insert event occurs, a notification will be generated.
When this notification is generated, an entry will be added in the ecsInsert table in the database:
The ECS Type, i e Batch or UDR, will be inserted in the tp column in the database table.
The timestamp from the EC will be inserted in the time column in the database table.