Ask or search…
Comment on page

Event Trigger

Know the trigger and how to use it.
An event is a message that notifies other components about a change of state, an action or an occurred fact. Event Trigger responds to a specific event generated by another pipeline through Event Publisher. To know more about this component, read the documentation. You can also learn more about Event-driven architecture in our documentation.
The configuration parameters of the trigger are as follows:
  • Event Name: name of the event the trigger responds to.
  • Expiration: time the event spends in the queue (in milliseconds). If the expiration is = 0 or a value greater than 6h, then the expiration will be 1/4 of the specified Maximum timeout value.
  • Maximum Timeout: maximum time (in milliseconds) for the pipeline to process information before returning a response. Default: 30000. Limit: 900000.
  • Allow Redelivery of Messages: if activated, the option allows messages to be delivered again if the Pipeline Engine fails.

Messages flow


The trigger expects a valid message in JSON format. The received message is exactly the one define in the "body" attribute of the Event Publisher component.
"id": "1",
"description": "Description of the case"


The component retransmits the received message of the previous component with no changes. In the example above, the retransmitted message would be:
"id": "1",
"description": "Description of the case"

Event Trigger in Action

To implement an event-driven Architecture, it's necessary to define:

  • the pipeline to publish the event (Publisher);
  • one or more pipelines to consume the event (Subscribers).

To configure the pipeline to publish the event:

  • drag the Event Publisher to the Publisher pipeline canvas;
  • configure the name of the event in the "Event" property of Event Publisher;
  • if you want to define a payload with the event, then define the content in the “Body” property.

To configure the pipeline to consume the event:

  • change the trigger type to Event in the Subscriber pipeline;
  • open the trigger configurations and inform the name of the event to be consumed in the "Name of the Event" property. This value must be identical to the one informed in the Event Publisher of the Publisher pipeline.
Last modified 1mo ago