# September 10, 2026 - Ternary operator now available in the Analytics Builder Expression block

**URL:** <https://community.cumulocity.com/t/september-10-2026-ternary-operator-now-available-in-the-analytics-builder-expression-block/15187>\
**Category:** Analytics\
**Tags:** Improvement, analytics, streaming-analytics\
**Created:** [September 12, 2026, 7:07am UTC](https://community.cumulocity.com/t/september-10-2026-ternary-operator-now-available-in-the-analytics-builder-expression-block/15187 "2026-09-12T07:07:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cumulocity](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/cumulocity/32/31990_2.png) [@cumulocity](https://community.cumulocity.com/u/cumulocity)\
**Post date:** [September 12, 2026, 7:07am UTC](https://community.cumulocity.com/t/september-10-2026-ternary-operator-now-available-in-the-analytics-builder-expression-block/15187/1 "2026-09-12T07:07:49Z")

</div>

## Context

* * *

**Change Type:** Improvement  
**Product area:** Analytics  
**Component:** Streaming Analytics  
**Deployed at:** [eu.latest.cumulocity.com](http://eu.latest.cumulocity.com), [apj.cumulocity.com](http://apj.cumulocity.com), [jp.cumulocity.com](http://jp.cumulocity.com), [cumulocity.com](http://cumulocity.com), [us.cumulocity.com](http://us.cumulocity.com)

> **Technical details**
>
> **Build artifact:** apama-in-c8y (27.235.0)  
> **Internal ID:** PAB-1938

## Description

* * *

The [Expression](https://cumulocity.com/docs/streaming-analytics/block-reference/#expression) block in Analytics Builder now supports a ternary conditional operator: `<condition> ? <trueValue> : <falseValue>`. `<condition>` must be of type `boolean`, and `<trueValue>` and `<falseValue>` must be of the same type. Only the branch selected by `<condition>` is evaluated.
