# Workflow Automation: Filter: Custom Calc

Use the **Custom (Calc)** filter when a custom evaluation is needed.

Use PHP notation to create a calculation.

For example: If you **Trigger on New Comment** for an *item* in a Help Desk *App*, you may wish to add a **filter** for the flow to be **triggered** ONLY when the "Help Desk" *App* makes a comment.

Start the **Trigger on New Comment** and add the **Custom (Calc)** filter.

![Filter Custom Calc 1](https://www.progress.com/podio/documentation/assets/e6f71c437ddc4d62e12113898cb085c1/customcalc1.png)

Create a PHP expression for your conditions. Use the **Token Selector** to select the required *fields*.

![Filter Custom Calc 2](https://www.progress.com/podio/documentation/assets/e5fbf4157822b45749bfc8421038d981/customcalc2.png)

Complete flow by adding **Actions** to complete your workflow steps.

This flow will **trigger** when the "Triggering Comment Creator" is equal to "Help Desk".
