# Export Rule Flow

## Exporting a Rule

First, make sure you're logged in and navigate to the **Bussiness Rules** category on the sidebar.

To access the Export window either:

* Right-click on the rule you wish to export in the Folders manager, then select **Export**.
* Find the rule you wish to export in the list of rules in the **Bussiness Rules** tab on the sidebar.&#x20;

<figure><img src="/files/GqnOctBJITkeTpgpYZJP" alt=""><figcaption><p>Image 1</p></figcaption></figure>

or

* Navigate to the rule you wish to export and into it's settings, then click on **Export** in the top right corner. (Image 2)&#x20;

<figure><img src="/files/aAZhxoIuDDgswUxjh84G" alt=""><figcaption><p>Image 2</p></figcaption></figure>

You will be prompted with the following window.

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

For Rule Flows, the only format option is JSON.

Click on the **Export** button under your selected format and a file containing your rule will be downloaded.

{% hint style="info" %}
When exporting a Rule Flow, every other Rule used within the Rule Flow is exported as well, within the same file.
{% endhint %}

{% hint style="warning" %}
Export of Rule Flow with another nested Rule Flow is not allowed.
{% endhint %}


---

# 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.decisionrules.io/doc/v1/rule-flow/import-and-export-rule/export-rule-flow.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.
