---
title: "Conditions"
slug: "conditions"
abstract: "Information about the conditional activity type."
---
# Conditions

The conditional activity type executes a rule and returns either true or false. The conditional activity type is represented by the `Sitecore.Marketing.Automation.Activity.Conditional` class.

> [!note]
> For information about creating and registering custom conditions, refer to the [Segmentation](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-platform/create-a-custom-condition-and-segmentation-query.html "Create a custom condition and segmentation query") documentation.