# How to automatically set release status

Start creation of a business rule as usual.

<figure><img src="/files/5KjEQhxiAttUol47SsYZ" alt=""><figcaption></figcaption></figure>

First you should choose the "product enrichment insight is changed" trigger.

To configure, choose the [enrichment insight](/reference/settings/data-governance/enrichment-insights.md) you want to track. In this example we choose "Ready for UK webshop".

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

Then choose "When condition is met" and "Equals" "100%".&#x20;

<div><figure><img src="/files/679MGXyjxDsKyS3e6JKU" alt=""><figcaption><p>Configure action</p></figcaption></figure> <figure><img src="/files/xiHBAoatZX6DENRhoO47" alt=""><figcaption><p>Configure action</p></figcaption></figure></div>

When you have set up your [trigger](/reference/settings/data-governance/business-rules/business-rule-details/triggers/trigger-details.md) you can add [actions](/reference/settings/data-governance/business-rules/business-rule-details/actions/action-details.md) to make the [product](/fundamental-concepts/data-management.md) ready. In this example set the [attribute](/fundamental-concepts/workflows-and-automation.md) "Ready for web?" to "true" and change the [workflow state](/reference/settings/data-governance/workflows/workflow-states.md) to "Awaiting approval"

The finished business rule looks like this:

<figure><img src="/files/xTNVRHpxgck0FtMpmWSl" alt=""><figcaption><p>Finished business rule</p></figcaption></figure>


---

# 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://docs.struct.com/tutorials/guides/how-to-use-business-rules/how-to-automatically-set-release-status.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.
