# Goal-Achieved Condition

A rule can contain a "Goal-achieved condition". When this feature is enabled, then you can specify a condition so that you are able to measure the success when delivering a notification.

<figure><img src="/files/A1fu8mVKQM2xu2jPo3kY" alt=""><figcaption></figcaption></figure>

The "Goal-achieved condition" can be expressed as a mathematical expression producing a boolean value. It works exactly the same as the "Condition" field.&#x20;

Have a look at [Rule Language](/platform-manual/rules/rule-language.md) to see the full feature set of the expression language.

When a "Goal-achieved condition" has been specified, then whenever a notification was delivered, then it evaluates periodically this condition until it either becomes 'true' (i.e. measures *goal achieved*), or until it 7 days have passed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.moost.io/platform-manual/rules/rule-configurator/streak-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
