# IsWithinTransaction()

Determines whether the current thread is within a [<cftransaction>](../tags/transaction.md) block or not.

**Introduced:** 5.3.9.4

```
IsWithinTransaction( );
```

**Returns:** boolean

*This function does not take any arguments.*

# Examples

*There are currently no examples for this function*







# Categories

[Decision logic](../../categories/decision.md), [Queries](../../categories/query.md)

# See Also

[<cfquery>](../tags/query.md), [<cftransaction>](../tags/transaction.md)