---
updatedAt: 2025-11-05T20:31:42.000Z
agentTools:
  projectIndex: https://esf.eurotech.com/v6.0.0/llms.txt
---

# Conditional Component

The Conditional Component is a Multiport-enabled component that implements the if-then-else logic in the Wire Composer. It is provided by default in every ESF installation.

![860](https://files.readme.io/e9f5fe6-Conditional_Composer.png "Conditional_Composer.png")

In the image above a simple usage example of the Conditional component: a timer ticks and the envelope is received by the Conditional component. The message is then processed and can be sent downstream to the logger component (**then** port) or to a publisher (**else** port).\
The choice between the two ports is performed based on a condition expressed in the Conditional component configuration.

![809](https://files.readme.io/b54d63a-Conditional_Config.png "Conditional_Config.png")