> For the complete documentation index, see [llms.txt](https://manual.firstresonance.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.firstresonance.io/automations/auto-update-mbom-revision-on-part-revision-update.md).

# Auto-Update mBOM Revision on Part Revision Update

## Functionality:

### Use Case:

For manufacturers who treat part revisions as interchangeable, it is crucial to reference the most recently released parts in their mBOMs. This ensures that production and planning are aligned with the latest versions. This automation facilitates this process by:

1. Updating the most recently released mBOMs with newly revised parts. (See flow below)
2. Updating any draft mBOMs an ME may be working on.

Additionally, if enabled through a toggle during setup, the automation will also update your autoplan inputs to reflect the newly revised parts.

<figure><img src="/files/NPg9Mljs0uYVONMaolTd" alt=""><figcaption><p>Use Case Flow</p></figcaption></figure>

### mBOM State Notes:

When deploying this automation, consider the following scenarios related to mBOM states before the revision:

1. **Draft mBOMs**:
   * If the mBOM was in a draft state, the automation will update the existing mBOM and keep it in the draft state with the same revision.
2. **Released mBOMs**:
   * If the mBOM was in a released state, the automation will update to the latest released mBOM. The resulting mBOM will be a new revision and will be automatically released.

## Deployment:

### Step 1: General Integration Setup

* Follow the generic integrations and automations setup how-to page [here](/integrations/deploying-integrations-and-automations.md). This helps establish your API credentials.

### Step 2: Automation Specific Configuration

* For those individuals that are using Autoplan there is an important opt in opportunity to make sure this automation serves your demand planning needs.
* If the toggle is:
  * ON (Green): Plan Inputs will be updated to the latest revision.
  * OFF(Dark): Plan Inputs will not be updated to the latest revision.

<figure><img src="/files/jLWYuKcAv5lxvNqskw2T" alt=""><figcaption><p>Autoplan Opt. In Configuration</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://manual.firstresonance.io/automations/auto-update-mbom-revision-on-part-revision-update.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
