---
title: How to create a conditional expression on PE%?
description: When creating a trigger in Fusion Manager, you can create a conditional expression so the alert triggers only if the desired performance percentage is satisfied.
---

[Skip to content](https://support.ofsystems.com/how-to-create-a-conditional-expression-on-pe#main-content)

![OFS\_Circle.png\]](https://support.ofsystems.com/hs-fs/hubfs/OFS_Circle.png?height=45&name=OFS_Circle.png)

- [OFS Customer Portal](https://support.ofsystems.com/)
- [Main Website](https://ofsystems.com/)
- [Contact Us](https://www.ofsystems.com/contact-us?)
- [Service Portal](https://ofsystems.atlassian.net/servicedesk/customer/portal/1)

Open main navigation

Close main navigation

- [OFS Customer Portal](https://support.ofsystems.com/)
- [Main Website](https://ofsystems.com/)
- [Contact Us](https://www.ofsystems.com/contact-us?)
- [Service Portal](https://ofsystems.atlassian.net/servicedesk/customer/portal/1)

 Welcome to the OFS Customer Portal

- There are no suggestions because the search field is empty.

1. [OFS Customer Portal](https://support.ofsystems.com/?hsLang=en)
2. [How To Questions](https://support.ofsystems.com/how-to-questions?hsLang=en)
3. [Flow - Conditional Expression & Triggers](https://support.ofsystems.com/how-to-questions?hsLang=en#flow-conditional-expression-triggers)

# How to create a conditional expression on PE%?

## When creating a trigger in Fusion Manager, you can create a conditional expression so the alert triggers only if the desired performance percentage is satisfied.

#### **Step 1 — Add a Machine State trigger**

In the **Triggers** tab, select **Machine State** and click the **+** button.

![](https://support.ofsystems.com/hs-fs/hubfs/image-png-Jul-03-2025-01-08-45-5180-AM.png?width=670&height=203&name=image-png-Jul-03-2025-01-08-45-5180-AM.png)

#### **Step 2 — Select the Running machine state**

Choose **Running**, so the check only happens while the line is producing.

#### **Step 3 — Set an offset**

Toggle on **Offset** and enter a value — 1 minute works well as a starting point. The offset gives the line time to come up to speed before performance is measured. Without it, the check runs at the moment the line starts and performance is always low.

#### **Step 4 — Select the lines and services**

Choose the **Lines** the trigger should watch, and the **Services** that should deliver the message. A trigger with no service attached still raises the alert and records it, but notifies nobody. 

![](https://support.ofsystems.com/hs-fs/hubfs/image-png-Nov-13-2024-03-26-38-3747-AM.png?width=670&height=447&name=image-png-Nov-13-2024-03-26-38-3747-AM.png)

 

#### **Step 5 — Turn on the conditional expression**

Click the **Conditional Expression** tab and toggle it **On**.

#### **Step 6 — Enter the expression**

For a performance threshold of 95%:

```
job.metrics.pe>=0.95
```

- Enter the figure as a decimal, not a percentage. 95% is `0.95`, not `95`.

![](https://support.ofsystems.com/hs-fs/hubfs/image-png-Nov-13-2024-03-30-42-5138-AM.png?width=670&height=593&name=image-png-Nov-13-2024-03-30-42-5138-AM.png)

 

#### **Test it**

Run the line and let it settle above the threshold. The alert should fire once the offset has elapsed. If nothing arrives, confirm the alert is not disabled, the trigger has a line and a service, and the expression is not sitting empty — an enabled conditional expression with nothing typed in it is never true, which is the most common reason a conditional trigger goes quiet.

#### **Adapting it to your own line**

- Flip the operator to catch the opposite case. `job.metrics.pe<=0.85` fires when performance drops below 85%, which is usually the more useful alert.
- Lengthen the offset on lines that take longer to reach rated speed.
- Performance is one of the three OEE components, so the same approach works on `job.metrics.ava` for availability, `job.metrics.quality` for quality, and `job.metrics.oee` for OEE itself.

A full list of variables is available in the [Alert Variables](https://support.ofsystems.com/alert-variables?hsLang=en) article.

- [Getting Started](https://support.ofsystems.com/getting-started?hsLang=en#main-content)

    - [Console: The Basics](https://support.ofsystems.com/getting-started?hsLang=en#console-the-basics)
    - [Analytics: The Basics](https://support.ofsystems.com/getting-started?hsLang=en#analytics-the-basics)
    - [Fusion Manager: The Basics](https://support.ofsystems.com/getting-started?hsLang=en#fusion-manager-the-basics)
    - [OFS-Flow Training : The Basics](https://support.ofsystems.com/getting-started?hsLang=en#ofs-flow-training-the-basics)
    - [OFS-Go](https://support.ofsystems.com/getting-started?hsLang=en#ofs-go)
    - [MayvnAI](https://support.ofsystems.com/getting-started?hsLang=en#mayvnai)
- [Help & Support](https://support.ofsystems.com/help-support?hsLang=en#main-content)

    - [Troubleshooting](https://support.ofsystems.com/help-support?hsLang=en#troubleshooting)
    - [OFS in a Box](https://support.ofsystems.com/help-support?hsLang=en#ofs-in-a-box)
    - [Routers](https://support.ofsystems.com/help-support?hsLang=en#routers)
    - [PLCs](https://support.ofsystems.com/help-support?hsLang=en#plcs)
- [Success with MayvnAI](https://support.ofsystems.com/success-with-mayvnai?hsLang=en)
- [Training Videos](https://support.ofsystems.com/training-videos?hsLang=en#main-content)

    - [Operator Console](https://support.ofsystems.com/training-videos?hsLang=en#operator-console)
    - [OFS Analytics](https://support.ofsystems.com/training-videos?hsLang=en#ofs-analytics)
    - [Fusion-Manager](https://support.ofsystems.com/training-videos?hsLang=en#fusion-manager)
    - [OFS-Flow](https://support.ofsystems.com/training-videos?hsLang=en#ofs-flow)
    - [OFS-Go](https://support.ofsystems.com/training-videos?hsLang=en#ofs-go)
- [How To Questions](https://support.ofsystems.com/how-to-questions?hsLang=en#main-content)

    - [Administration](https://support.ofsystems.com/how-to-questions?hsLang=en#administration)
    - [Operator Console](https://support.ofsystems.com/how-to-questions?hsLang=en#operator-console)
    - [Analytics](https://support.ofsystems.com/how-to-questions?hsLang=en#analytics)
    - [Fusion Manager](https://support.ofsystems.com/how-to-questions?hsLang=en#fusion-manager)
    - [Fusion Manager - Alerts & Services](https://support.ofsystems.com/how-to-questions?hsLang=en#fusion-manager-alerts-services)
    - [Flow](https://support.ofsystems.com/how-to-questions?hsLang=en#flow)
    - [Flow - Validations](https://support.ofsystems.com/how-to-questions?hsLang=en#flow-validations)
    - [Flow - Conditional Expression & Triggers](https://support.ofsystems.com/how-to-questions?hsLang=en#flow-conditional-expression-triggers)
    - [APIs](https://support.ofsystems.com/how-to-questions?hsLang=en#apis)
- [FAQs](https://support.ofsystems.com/faqs?hsLang=en#main-content)

    - [Operator Console](https://support.ofsystems.com/faqs?hsLang=en#operator-console)
    - [Fusion Manager](https://support.ofsystems.com/faqs?hsLang=en#fusion-manager)
    - [Analytics](https://support.ofsystems.com/faqs?hsLang=en#analytics)
    - [OFS-Flow](https://support.ofsystems.com/faqs?hsLang=en#ofs-flow)
- [Case Studies](https://support.ofsystems.com/case-studies?hsLang=en#main-content)

    - [Mavyn AI](https://support.ofsystems.com/case-studies?hsLang=en#mavyn-ai)
- [OFS Guides](https://support.ofsystems.com/ofs-guides?hsLang=en)
- [Webinars](https://support.ofsystems.com/webinars?hsLang=en)

[![](https://support.ofsystems.com/hs-fs/hubfs/Logo%20Medium_no%20words.png?width=128&height=68&name=Logo%20Medium_no%20words.png)](http://ofsystems.com)

Operations Feedback Pty Ltd

7/627 Chapel St, South Yarra, VIC 3123  
+61 3 8684 9859

<https://www.ofsystems.com/> <https://www.linkedin.com/company/operations-feedback-systems/> [mailto:support@ofsystems.com](mailto:support@ofsystems.com)

Copyright © 2025, Operations Feedback Systems Pty Ltd.