> For the complete documentation index, see [llms.txt](https://docs.advantys.com/workflowgen-administration-module-reference-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.advantys.com/workflowgen-administration-module-reference-guide/workflow-applications/adobe-sign/adobesigncheck-workflow-application.md). Agents can also search and read this documentation through its [MCP server](https://docs.advantys.com/workflowgen-administration-module-reference-guide/~gitbook/mcp).

# ADOBESIGNCHECK

## Overview

The **ADOBESIGNCHECK** workflow application lets you verify the status of an agreement and download its associated file, which is a concatenation of attached files.

## How it works

* You can verify the status of an agreement and download the file from Adobe Sign based on your status criteria.<br>
* Application logs are available. These can be specified by setting the value of the `AdobeSignCheckLogLevel` parameter in the `web.config` file to `0` to deactivate logs, `1` for error logs, `2` for information logs, or `3` for debug logs; the default value is `0`.

## Configuring the Adobe Sign API

For instructions on how to configure the Adobe Sign API, see the [Configuring the Adobe Sign API](https://docs.advantys.com/workflowgen-administration-module-reference-guide/workflow-applications/adobe-sign/adobesignsend-workflow-application.md#configuring-the-adobe-sign-api) section in the [ADOBESIGNSEND Workflow Application](https://docs.advantys.com/workflowgen-administration-module-reference-guide/workflow-applications/adobe-sign/adobesignsend-workflow-application.md) chapter.

## Required parameter

<table data-header-hidden><thead><tr><th valign="top">Parameter</th><th valign="top">Type</th><th valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><strong>Parameter</strong></td><td valign="top"><strong>Type</strong></td><td valign="top"><strong>Direction</strong></td><td valign="top"><strong>Description</strong></td></tr><tr><td valign="top"><code>ADOBESIGN_AGREEMENT_ID</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top">ID of the Adobe Sign agreement to verify</td></tr></tbody></table>

## Optional parameters

### Adobe Sign configuration

<table data-header-hidden><thead><tr><th valign="top">Parameters</th><th valign="top">Type</th><th valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><strong>Parameters</strong></td><td valign="top"><strong>Type</strong></td><td valign="top"><strong>Direction</strong></td><td valign="top"><strong>Description</strong></td></tr><tr><td valign="top"><code>ADOBESIGN_CLIENT_ID</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top"><p>Adobe Sign client ID<br></p><p>By default, this value comes from the <code>AdobeSignClientId</code> parameter in the <code>web.config</code> file.</p></td></tr><tr><td valign="top"><code>ADOBESIGN_CLIENT_SECRET</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top"><p>Adobe Sign client secret</p><p></p><p>By default, this value comes from the <code>AdobeSignClientSecret</code> parameter in the <code>web.config</code> file.</p></td></tr><tr><td valign="top"><code>ADOBESIGN_REFRESH_TOKEN</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top"><p>Authentication refresh token</p><p><br>By default, this value comes from the <code>AdobeSignAuthServer</code> parameter in the <code>web.config</code> file. </p><p></p><p>To obtain it, see the <a href="https://docs.advantys.com/workflowgen-administration-module-reference-guide/workflow-applications/adobe-sign/adobesignsend-workflow-application.md#configuring-the-adobe-sign-api">Configuring the Adobe Sign API</a> section.</p></td></tr><tr><td valign="top"><code>ADOBESIGN_HOST_SERVER</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top"><p>Adobe Sign host server (e.g. <code>https://api.naX.adobesign.com</code>, where <code>x</code> is the server ID)</p><p></p><p>By default, this value comes from the <code>AdobeSignHostServer</code> parameter in the <code>web.config</code> file.</p></td></tr></tbody></table>

### General

<table data-header-hidden><thead><tr><th valign="top">Parameters</th><th valign="top">Type</th><th valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><strong>Parameters</strong></td><td valign="top"><strong>Type</strong></td><td valign="top"><strong>Direction</strong></td><td valign="top"><strong>Description</strong></td></tr><tr><td valign="top"><code>VALID_STATUS_LIST</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top"><p>Valid status to download the document<br></p><p><strong>Possible values:</strong></p><ul><li><code>OUT_FOR_SIGNATURE</code></li><li><code>OUT_FOR_DELIVERY</code></li><li><code>OUT_FOR_ACCEPTANCE</code></li><li><code>OUT_FOR_FORM_FILLING</code></li><li><code>OUT_FOR_APPROVAL</code></li><li><code>AUTHORING</code></li><li><code>CANCELLED</code></li><li><code>SIGNED</code></li><li><code>APPROVED</code></li><li><code>DELIVERED</code></li><li><code>ACCEPTED</code></li><li><code>FORM_FILLED</code></li><li><code>EXPIRED</code></li><li><code>ARCHIVED</code></li><li><code>PREFILL</code></li><li><code>WIDGET_WAITING_FOR_VERIFICATION</code></li><li><code>DRAFT</code></li><li><code>DOCUMENTS_NOT_YET_PROCESSED</code></li><li><code>WAITING_FOR_FAXIN</code></li><li><code>WAITING_FOR_VERIFICATION</code></li></ul><p><strong>Default:</strong> <code>SIGNED,APPROVED,CANCELLED,EXPIRED,ARCHIVED</code></p></td></tr><tr><td valign="top"><code>ADOBESIGN_DOCUMENT</code></td><td valign="top">FILE</td><td valign="top">OUT</td><td valign="top">Adobe Sign document</td></tr><tr><td valign="top"><code>ADOBESIGN_STATUS</code></td><td valign="top">TEXT</td><td valign="top">OUT</td><td valign="top">Agreement status</td></tr></tbody></table>

## Example with ADOBESIGNSEND

In the following example, the ADOBESIGNSEND action is directly followed  by the ADOBESIGNCHECK action. This action will loop back onto itself until the status changes to `SIGNED`, `APPROVED`, `CANCELLED`, `EXPIRED`, or `ARCHIVED`.

If the status returned meets the condition, the document will be downloaded from Adobe Sign.

<div align="left"><img src="https://content.gitbook.com/content/imiOCeaawutpXkzp4fhb/blobs/EpIxcZgMw61RVJJkAZol/image.png" alt=""></div>

With the system loop action function, the ADOBESIGNCHECK action will be executed every `x` seconds until the OUT condition is met.

<div align="left"><figure><img src="https://843188674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FimiOCeaawutpXkzp4fhb%2Fuploads%2FXIRRlr6WzjWPinwieTYX%2FADOBESIGNCHECK_edit_action.png?alt=media&amp;token=f3efeae4-897b-4029-9992-600e4635742c" alt=""><figcaption><p>Configuring an ADOBESIGNCHECK action</p></figcaption></figure></div>
