---
title: "[Includes] Post-Function - Conditional Execution"
canonical: "https://support.appfire.com/space/JMWE/461602895/%5BIncludes%5D%20Post-Function%20-%20Conditional%20Execution"
format: markdown
---
> Macro (aura-html)

It is possible to configure the post-function to execute (or not execute) only in specific circumstances. The **Condition executional **option sets this behavior.

- **Only if condition is true** - Check this option to execute the post-function based on the result of a Groovy expression. See [Conditional execution/validation using a Groovy expression](/wiki/spaces/JMWE/pages/282240172) for more information.
  - **Condition** - Enter a Groovy expression that evaluates to `true` or `false` (or truthiness/falseness).