---
schema_version: "1"
id: 9421f76ed37d0cdcfbde8733556aef21f9b3cd9baeccc7b6b299f9fa1d78bf40
title: Publishing Document Actions
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/idp/publishing-document-actions.md
canonical_url: https://docs.mulesoft.com/idp/publishing-document-actions
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f433c99ee3e747c9ab4d7536d2128bf46d91960d27592c3c05833c7d3fc00042
description: MuleSoft Documentation Site
latest: true
---
---
product: IDP
---

# Publishing Document Actions

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

You can build an automated pipeline for document processing by integrating your published document
actions with RPA, Mule applications, and other systems. Publishing a document action makes it
discoverable in RPA and available in Anypoint Exchange as an API that you can call.

> [!WARNING] Do not delete document action assets from Anypoint Exchange. Because the asset is
> discoverable, existing integrations might be using it. Deleting the asset from Exchange breaks
> those integrations and leaves an orphan document action in the IDP UI that is no longer tied to
> any Exchange asset. To retire a document action, see
> [Retire a Document Action](#retire-document-action).

## Document Action Versioning

You can use document action versioning to avoid breaking existing integrations when you modify a
published document action. IDP follows semantic versioning but only increases the minor version
number when you republish a document action.

For example, when you publish a document action for the first time, IDP sets the version to `1.0.0`.
If you modify this document action later and republish it, IDP sets the version number to `1.1.0`,
and so on.

Consider this behavior when publishing document actions and ensure you call the desired version of
the published document action in your integrations.

### View Published Document Action Versions

You can view any published version of a document action and review the configuration without making
changes, which helps you compare different versions.

To view a published version:

1.  In the IDP sidebar, click **Document Actions**.

2.  Select the document action you want to review.

3.  In the version dropdown list, select the version you want to view.

    ![25%](/mulesoft/current/en-us/idp/_images/document-action-version-selector.png)

    The document action opens in read-only mode, showing all the configuration details for that
    version.

## Before You Begin

Ensure you have any of the following Anypoint permissions:

Manage Actions

Gives a user complete access to IDP and assigns reviewer permission by default for every document
action.

Build Actions

Enables a user to create, edit, publish, and execute document actions and assign reviewers to the
actions.

## Publish a Document Action

To publish a document action:

1.  Open the document in edit mode either by:

    - Creating a new document action.

    - Opening an existing document action in view mode and clicking **Open in Builder**.

2.  Click **Publish**.

3.  Verify the name and version of the asset and click **Publish**.

4.  Wait for the confirmation message and click **Close**.

## Retire a Document Action

After a document action is published to Anypoint Exchange, you cannot delete it from the IDP UI.
This behavior is intentional to prevent breaking existing integrations.

To retire a document action that you no longer use, rename it in the IDP UI to indicate that it is
deprecated. For example, add **(Deprecated)** or **(Do not use)** to the name. That way your team
knows not to use this document action for new integrations, while existing integrations can continue
to use the published version.

## See Also

- [Reviewing Processed Documents](https://docs.mulesoft.com/idp/reviewing-processed-documents)

- [Analyzing Documents Using Pre-Built Schemas](https://docs.mulesoft.com/idp/creating-document-actions)

- [Processing Documents and Retrieving Results With the API](https://docs.mulesoft.com/idp/automate-document-processing-with-the-idp-api)

- [Processing Documents and Retrieving Results With RPA](https://docs.mulesoft.com/idp/automate-document-processing-with-rpa)
