---
schema_version: "1"
id: d8c99df840a0a301e5da65b0297ee4fba4a6cdf694b6c64fbf39be841eac077f
title: Veeva Vault Connector 1.5 Reference
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/veevavault-connector/latest/veevavault-connector-reference.md
canonical_url: https://docs.mulesoft.com/veevavault-connector/latest/veevavault-connector-reference
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4659414f4c14666b884846df74b5e975f23563b125a4bdc2061a2605cf24cf3a
description: MuleSoft Documentation Site
release: "1.5"
latest: true
---
---
product: Veeva Vault Connector
version: 1.5
is-latest-version: true
---

# Veeva Vault Connector 1.5 Reference

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

## Configuration

Default Configuration for Veeva Vault Connector.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name for this configuration. Connectors reference the configuration with this name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Connection</strong></p></td><td><div><div><ul><li><p><a href="#config_basic-connection">Basic Connection</a></p></li><li><p><a href="#config_oauth2-oidc-connection">OAuth 2.0 / Open ID Connection Provider</a></p></li></ul></div></div></td><td><div><div><p>Connection types for this configuration.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Expiration Policy</strong></p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><div><div><p>Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Basic Connection

Uses basic connection for authorization.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Response Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum amount of time in milliseconds that the connector waits for the Veeva Vault response. If the time elapses, a Response Timeout exception is thrown.</p></div></div></td><td><div><div><p><code>30000</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Burst API Limit Profile</strong></p></td><td><div><div><p>One of:</p></div><div><ul><li><p><a href="#burst-api-limit-config">Burst Api Limit Config</a></p></li><li><p>Disable <a href="#burst-api-limit-config">Burst Api Limit Config</a></p></li></ul></div></div></td><td><div><div><p>Burst API limit profile configuration in which the Veeva Vault burst API limit exceed is configured. It is enabled by default.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Daily API Limit Profile</strong></p></td><td><div><div><p>One of:</p></div><div><ul><li><p><a href="#daily-api-limit-config">Daily Api Limit Config</a></p></li><li><p>Disable <a href="#daily-api-limit-config">Daily Api Limit Config</a></p></li></ul></div></div></td><td><div><div><p>Daily API limit profile configuration in which the Veeva Vault daily API limit exceed is configured. It is enabled by default.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Port</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Port.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>NTLM Domain</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>NTLM domain.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Vault URL</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Veeva Vault instance URL required for connection.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Version</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Version for the Veeva Vault instance required.</p></div></div></td><td><div><div><p><code>v19.3</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Client Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Client ID required to send with each request header to the Vault instance.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username for the Veeva Vault instance required for connection.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password for the Veeva Vault instance required for connection.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#reconnection">Reconnection</a></p></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### OAuth 2.0 / Open ID Connection Provider

Use OAuth 2.0 to delegate user authentication to the service hosting the user account. For more
information, refer to
[Configuring OAuth 2.0 for Connectors](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2),
[Configuring OAuth 2.0 for Connectors on CloudHub](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2-cloudhub),
or [OAuth Support in the SDK](https://docs.mulesoft.com/mule-sdk/latest/oauth).

Authorizes against any OpenID provider and later exchanges the issued access token for a Veeva
session ID.

For more information on how to configure this connection type, refer to
[OAuth 2.0 / Open ID Connection Provider](https://docs.mulesoft.com/veevavault-connector/latest/veevavault-connector-studio#oauth2-oidc-connection).

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Response Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum amount of time in milliseconds that the connector waits for the Veeva Vault response. If the time elapses, a Response Timeout exception is thrown.</p></div></div></td><td><div><div><p><code>30000</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Burst API Limit Profile</strong></p></td><td><div><div><p>One of:</p></div><div><ul><li><p><a href="#burst-api-limit-config">Burst Api Limit Config</a></p></li><li><p>Disable <a href="#burst-api-limit-config">Burst Api Limit Config</a></p></li></ul></div></div></td><td><div><div><p>Burst API limit profile configuration in which the Veeva Vault burst API limit exceed is configured. It is enabled by default.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Daily API Limit Profile</strong></p></td><td><div><div><p>One of:</p></div><div><ul><li><p><a href="#daily-api-limit-config">Daily Api Limit Config</a></p></li><li><p>Disable <a href="#daily-api-limit-config">Daily Api Limit Config</a></p></li></ul></div></div></td><td><div><div><p>Daily API limit profile configuration in which the Veeva Vault daily API limit exceed is configured. It is enabled by default.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Host.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Port</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Port.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>NTLM Domain</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>NTLM domain.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Vault URL</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Veeva Vault instance URL required for connection.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Version</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Version for the Veeva Vault instance required.</p></div></div></td><td><div><div><p><code>v19.3</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Client Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Client ID required to send with each request header to the Vault instance.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>OIDC Profile ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>OIDC profile ID generated by Veeva when creating a new OIDC profile.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#reconnection">Reconnection</a></p></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Consumer Key</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>OAuth consumer key, as registered with the service provider.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Consumer Secret</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>OAuth consumer secret, as registered with the service provider.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Authorization Url</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>URL of the service provider’s authorization endpoint.</p></div></div></td><td><div><div><p><code>https://{IdentityProvider}/oauth2/v2.0/authorize</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Access Token Url</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>URL of the service provider’s access token endpoint.</p></div></div></td><td><div><div><p><code>https://{IdentityProvider}/oauth2/v2.0/token</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Scopes</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>OAuth scopes to request during the OAuth dance. This value defaults to the scopes in the annotation.</p></div></div></td><td><div><div><p><code>openid</code> <code>offline_access</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Resource Owner Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Resource owner ID to use with the authorization code grant type.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Before</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of a flow to execute immediately before starting the OAuth dance.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>After</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of a flow to execute immediately after receiving an access token.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Listener Config</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Configuration for the HTTP listener that listens for requests on the access token callback endpoint.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Callback Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path of the access token callback endpoint.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Authorize Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path of the local HTTP endpoint that triggers the OAuth dance.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>External Callback Url</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>URL that the OAuth provider uses to access the callback endpoint if the endpoint is behind a proxy or accessed through an indirect URL.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Object Store</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Configures the object store that stores data for each resource owner. If not configured, Mule uses the default object store.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

## Operations

- [Create Document Renditions](#createDocumentRenditions)

- [Create Documents](#createDocuments)

- [Create Object Records](#createObjectRecords)

- [Delete Document Renditions](#deleteDocumentRenditions)

- [Delete Documents](#deleteDocuments)

- [Delete Object Records](#deleteObjectRecords)

- [Export Documents](#exportDocuments)

- [Get Audit Details](#getAuditDetails)

- [Get Document Renditions Types](#getDocumentRenditionsTypes)

- [Get Documents](#getDocuments)

- [Get Object Records](#getObjectRecords)

- [Get Picklists](#getPicklists)

- [Invoke REST API](#invokeRestApi)

- [Query](#query)

- [Spark Validator](#sparkMessageValidator)

- [Unauthorize](#unauthorize)

- [Update Documents](#updateDocuments)

- [Update Object Records](#updateObjectRecords)

### Create Document Renditions

`<veevavault:create-document-renditions>`

Creates document renditions in bulk on Veeva Vault using document metadata provided in CSV or JSON
format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Document metadata as an Input Stream. The payload must be in the format specified in the <strong>Metadata Format</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Create Documents

`<veevavault:create-documents>`

Creates single or multiple documents on Veeva Vault using document metadata provided in CSV or JSON
format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Document metadata as an Input Stream. The payload must be in the format specified in the <strong>Metadata Format</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Create Object Records

`<veevavault:create-object-records>`

Creates bulk object records for the selected vault object using object metadata provided in CSV or
JSON format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Object name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Vault object metadata in CSV or JSON format as an Input Stream to create bulk object records on the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Delete Document Renditions

`<veevavault:delete-document-renditions>`

Deletes document renditions in bulk from Veeva Vault using document metadata provided in CSV or JSON
format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Document metadata in CSV OR JSON format as an Input Stream to delete multiple document renditions from the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Delete Documents

`<veevavault:delete-documents>`

Deletes single or multiple documents from Veeva Vault using document metadata provided in CSV or
JSON format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Document metadata in CSV or JSON format as an Input Stream to delete single or multiple documents from the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Delete Object Records

`<veevavault:delete-object-records>`

Deletes object records in bulk from the selected vault object using object metadata provided in CSV
or JSON format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Object name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Vault object metadata in CSV or JSON format as an Input Stream to create bulk object records on the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Export Documents

`<veevavault:export-documents>`

Queries a set of documents to export to your vault’s FTP staging server.

Use the **Export Documents** operation in a separate asynchronous flow by using Async Scope and
passing the payload with document IDs. When used asynchronously, the **Export Documents** operation
executes in separate flow thread and waits for the specified polling interval to poll the job status
until it is successful while the main flow continues its process.

The FTP staging area in the folder stores the exported documents, with the
`{root}/{userId}/{jobId}/{documentIds}/{versions}` hierarchy structure.

The following example shows the **Export Documents** operation returning job results as a response:

\[ { "file": "/41601/249051/0\_1/TestDocument.docx", "user\_id\_\_v": 1885110, "id": 249051,
"responseStatus": "SUCCESS", "minor\_version\_number\_\_v": 1, "major\_version\_number\_\_v": 0 }, {
"file": "/41601/249050/0\_1/TestDocument.docx", "user\_id\_\_v": 1885110, "id": 249050,
"responseStatus": "SUCCESS", "minor\_version\_number\_\_v": 1, "major\_version\_number\_\_v": 0 }, {
"file": "/41601/249052/0\_1/TestDocument.docx", "user\_id\_\_v": 1885110, "id": 249052,
"responseStatus": "SUCCESS", "minor\_version\_number\_\_v": 1, "major\_version\_number\_\_v": 0 } \]

This example contains the following attributes:

- `file`  
  Uses the `"/{jobId}/{documentId}/{major-minor-version}/{filename}"` format, which is the absolute
  file path location on the Vault FTP server staging area.

- `user_id__v`  
  Vault system user ID of a user whose credentials are configured in the connector. The folder is
  created on the Vault FTP server staging area root location under where the exported file is
  located. The folder is created with the name of the user ID prefixed with the letter `u`, for
  example `/uXXXXXXX/{jobId}/{documentId}/{major-minor-version}/{filename}\)`.

- `id`  
  Document ID of the exported document file.

- `major_version_number__v`  
  Major version number of the exported document file.

- `minor_version_number__v`  
  Minor version number of the exported document file.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Document metadata in CSV or JSON format as an Input Stream to export documents from vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Source</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>To exclude source files, set to <code>false</code>.</p></div></div></td><td><div><div><p><code>true</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Renditions</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>To include renditions, set to <code>true</code>.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>All Versions</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>To include all versions or the latest version, set to <code>true</code>.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Polling Interval</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Poll the vault at the specified interval, in seconds, until the job is successful.</p></div></div></td><td><div><div><p><code>10</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Get Audit Details

`<veevavault:get-audit-details>`

Retrieves all audit details for a specific audit type. Place a For-Each/Splitter element after this
operation to fetch each JSON data (page) in sequential order.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Audit Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Audit type.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Start Date</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Start date to retrieve audit information. This date cannot be more than 30 days ago. Dates must be of <code>YYYY-MM-DDTHH:MM:SSZ</code> format. Dates and times are in UTC. If the time is not specified, it defaults to midnight (T00:00:00Z) on the specified date.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>End Date</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>End date to retrieve audit information. This date cannot be more than 30 days ago. Dates must be of <code>YYYY-MM-DDTHH:MM:SSZ</code> format. Dates and times are in UTC. If the time is not specified, it defaults to midnight (T00:00:00Z) on the specified date.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Fetch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of limits or records per page.</p></div></div></td><td><div><div><p><code>1000</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Batch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of pages per batch.</p></div></div></td><td><div><div><p><code>10</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-iterable">Repeatable In Memory Iterable</a></p></li><li><p><a href="#repeatable-file-store-iterable">Repeatable File Store Iterable</a></p></li><li><p>non-repeatable-iterable</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Array of Message of Binary payload and <a href="#HttpResponseAttributes">HTTP Response Attributes</a> attributes</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Get Document Renditions Types

`<veevavault:get-document-renditions-types>`

Retrieves document rendition types using the document ID metadata in JSON format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Document ID metadata in a JSON format payload, for example, <code>{"documentId": "534"}</code>.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Get Documents

`<veevavault:get-documents>`

Retrieves document details from Veeva Vault. You can either:

- Provide document properties (document type, subtype, and classification) to retrieve document
  details.

  If document properties are provided, the **Get Documents** operation builds the VQL query
  dynamically. The VQL query is then executed on the vault to retrieve document details.

- Have document properties (document type, subtype, and classification) fetched to retrieve document
  details.

  If document properties are not provided, the document properties metadata is fetched using
  `/api/{version}/metadata/objects/documents/properties` and the VQL query is built based on the
  document metadata properties added or inserted in the **Document Properties** list. If metadata
  properties are not provided, then all queryable document properties are used and executed in the
  VQL query.

Place a For-Each/Splitter element after this operation to fetch each document’s data (page)
sequentially.

This operation provides a paging mechanism based on Mule standard pagination. Refer to
[Streaming and Pagination](https://docs.mulesoft.com/veevavault-connector/latest/veevavault-connector-config-topics#streaming_and_pagination.adoc) for
more details.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-iterable">Repeatable In Memory Iterable</a></p></li><li><p><a href="#repeatable-file-store-iterable">Repeatable File Store Iterable</a></p></li><li><p>non-repeatable-iterable</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Document type to retrieve the type.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>SubType</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Document subtype to retrieve the type.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Classification</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Document classification to retrieve the classification.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Document Properties</strong></p></td><td><div><div><p>Array of String</p></div></div></td><td><div><div><p>List of document properties to build a VQL query.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>WHERE Clause</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>WHERE clause that is appended to dynamically build a VQL query.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Fetch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Fetch size which limits the records per page.</p></div></div></td><td><div><div><p><code>1000</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Batch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Batch size which accommodates the number of pages in a specified number of batches.</p></div></div></td><td><div><div><p><code>10</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Array of Message of Binary payload and <a href="#HttpResponseAttributes">HTTP Response Attributes</a> attributes</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Get Object Records

`<veevavault:get-object-records>`

Retrieves object records details using object metadata fields to build a VQL query dynamically and
execute on the vault to get object details. Place a For-Each/Splitter element after this operation
to fetch each object records (page) sequentially.

This operation provides a paging mechanism based on Mule standard pagination. Refer to
[Streaming and Pagination](https://docs.mulesoft.com/veevavault-connector/latest/veevavault-connector-config-topics#streaming_and_pagination.adoc) for
more details.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Object name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Fields</strong></p></td><td><div><div><p>Array of String</p></div></div></td><td><div><div><p>Object fields list to include in the dynamic VQL query.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>WHERE Clause</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>WHERE clause.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Fetch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of limits or records per page.</p></div></div></td><td><div><div><p><code>1000</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Batch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of pages per batch.</p></div></div></td><td><div><div><p><code>10</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-iterable">Repeatable In Memory Iterable</a></p></li><li><p><a href="#repeatable-file-store-iterable">Repeatable File Store Iterable</a></p></li><li><p>non-repeatable-iterable</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Array of Message of Binary payload and <a href="#HttpResponseAttributes">HTTP Response Attributes</a> attributes</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Get Picklists

`<veevavault:get-picklists>`

Retrieves all available values configured on a picklist.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Picklist Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Picklist name.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Invoke REST API

`<veevavault:invoke-rest-api>`

Invokes generic Veeva Vault REST APIs.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Method</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>GET</p></li><li><p>DELETE</p></li><li><p>POST</p></li><li><p>PUT</p></li></ul></div></div></td><td><div><div><p>HTTP method to send the request.</p></div></div></td><td><div><div><p><code>GET</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path in which the request is sent, for example, <code>/vobjects/{object_name}/actions/{action_name}</code>.</p></div></div></td><td><div><div><p><code>/</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Body</strong></p></td><td><div><div><p>Any</p></div></div></td><td><div><div><p>Body of the request message.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Headers</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>HTTP headers the message must include.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>URI Parameters</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>URI parameters that are provided in the <strong>Path</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Query Parameters</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Query parameters the request must include.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Request Streaming Mode</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>AUTO</p></li><li><p>ALWAYS</p></li><li><p>NEVER</p></li></ul></div></div></td><td><div><div><p>Whether the request must be sent using streaming or not.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Query

`<veevavault:query>`

Executes the specified VQL query on the vault and retrieves the result in a paginated data input
stream. Place a For-Each/Splitter element after the Query operation to fetch each record in
sequential order.

This operation provides a paging mechanism based on Mule standard pagination. Refer to
[Streaming and Pagination](https://docs.mulesoft.com/veevavault-connector/latest/veevavault-connector-config-topics#streaming_and_pagination.adoc) for
more details.

> [!NOTE] Do not specify `LIMIT/PAGESIZE` and `OFFSET/PAGEOFFSET` in the VQL query. These parameters
> are incorporated internally.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-iterable">Repeatable In Memory Iterable</a></p></li><li><p><a href="#repeatable-file-store-iterable">Repeatable File Store Iterable</a></p></li><li><p>non-repeatable-iterable</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>VQL Query</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>VQL query required as per Veeva API documentation.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Input Parameters</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Input parameters in the format <code>#[{'name': 'Hemant', 'nickname': payload, 'company': vars.company}]</code>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Fetch Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of limits or records per page.</p></div></div></td><td><div><div><p><code>1000</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Batch Size (DEPRECATED)</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Number of batches of <strong>Fetch Size</strong> elements to return. This field is deprecated.</p></div></div></td><td><div><div><p><code>10</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Array of Message of Binary payload and <a href="#HttpResponseAttributes">HTTP Response Attributes</a> attributes</p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Spark Validator

`<veevavault:spark-message-validator>`

Validates and verifies Spark messages triggered from the vault with a signature and public key. Upon
successful validation and verification, the Spark message can be further processed in the Mule flow
according to your business requirements. Refer to
https://developer.veevavault.com/sdk/#spark-messaging\[Spark Messaging feature and functionalities
and setup\] for more details.

The output of the **Spark Validator** operation includes Spark attributes (optional) with the Spark
message as it is received from the vault.

> [!NOTE] Before triggering a Spark message from the vault, make sure to raise a support ticket with
> Veeva Vault Support to increase the time interval (for example, 10 seconds) for the Spark message
> to resend or retry. By default, the time interval is configured as 5 seconds, which is less than
> the time required for the **Spark Validator** operation to complete message validation and
> verification.

> [!NOTE] As per Veeva Systems, the public key (00001.pem) expires every two years. You receive
> notification in advance advising you of the expiration date. If you are using the **Spark
> Validator** operation in a Mule application flow, after the public key expiration date you must
> remove the public key file from the path configured in the **Public Key Path** field. A new public
> key will be created during execution of the key removal. If you don’t do this, Spark message
> verification fails as `INVALID_SPARK_MESSAGE`. The Mule application deployed on CloudHub with the
> default path must be restarted for successful Spark message verification.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Include Spark Headers</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Flag to include Spark headers received from the vault in the Spark validator output.</p></div></div></td><td><div><div><p><code>false</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Public Key Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Directory path to store the public key (00001.pem) file that is used to verify incoming Spark messages with a signature. Retrieved from the vault, if not specified.</p></div></div></td><td><div><div><p><code>${mule.home}/apps/${app.name}/publickeys</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Spark Headers</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Spark headers received from the vault and embedded in the Spark message.</p></div></div></td><td><div><div><p><code>#[attributes.headers]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Spark Message</strong></p></td><td><div><div><p>Input Stream</p></div></div></td><td><div><div><p>Spark message body received from the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p>Object</p></div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Unauthorize

`<veevavault:unauthorize>`

Deletes all the access token information of a given resource owner ID so that it is impossible to
execute any operation for that user without doing the authorization dance again.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Resource Owner Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>ID of the resource owner for whom to invalidate access.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

### Update Documents

`<veevavault:update-documents>`

Updates bulk documents using editable metadata in the payload provided in CSV or JSON format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Document Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Editable document metadata in CSV OR JSON format as an Input Stream to update single or multiple documents on the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

### Update Object Records

`<veevavault:update-object-records>`

Updates object records in bulk using object metadata in CSV or JSON format.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Object name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Metadata Format</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>CSV</p></li><li><p>JSON</p></li></ul></div></div></td><td><div><div><p>Metadata format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Object Metadata</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>Vault object metadata in CSV or JSON format as an Input Stream to create bulk object records on the vault.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Retry strategy in case of connectivity errors.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><p><a href="#HttpResponseAttributes">HTTP Response Attributes</a></p></td></tr></tbody></table>

#### Associated Configurations

- [Configuration](#config)

#### Throws

- VEEVAVAULT:API\_LIMIT\_EXCEEDED

- VEEVAVAULT:INVALID\_KEY\_FORMAT

- VEEVAVAULT:INVALID\_SESSION\_ID

- VEEVAVAULT:EXECUTION

- VEEVAVAULT:CLIENT\_PROTOCOL

- VEEVAVAULT:INVALID\_DATA

- VEEVAVAULT:RESPONSE\_TIMEOUT

- VEEVAVAULT:IOEXCEPTION

- VEEVAVAULT:PARAMETER\_REQUIRED

- VEEVAVAULT:CONNECTIVITY

- VEEVAVAULT:INVALID\_AUTH

- VEEVAVAULT:INVALID\_DOCUMENT

- VEEVAVAULT:USERNAME\_OR\_PASSWORD\_INCORRECT

- VEEVAVAULT:RETRY\_EXHAUSTED

- VEEVAVAULT:JSON\_EXCEPTION

- VEEVAVAULT:ATTRIBUTE\_NOT\_SUPPORTED

- VEEVAVAULT:OPERATION\_NOT\_ALLOWED

- VEEVAVAULT:METHOD\_NOT\_SUPPORTED

- VEEVAVAULT:NO\_PERMISSION

- VEEVAVAULT:INVALID\_SPARK\_MESSAGE

- VEEVAVAULT:INVALID\_TOKEN

- VEEVAVAULT:MALFORMED\_URL

- VEEVAVAULT:INSUFFICIENT\_ACCESS

- VEEVAVAULT:INACTIVE\_USER

- VEEVAVAULT:SESSION\_EXPIRED

## Types

### Reconnection

Configures a reconnection strategy for an operation.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Fails Deployment</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>When the application is deployed, a connectivity test is performed on all connectors. If set to <code>true</code>, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Reconnection strategy to use.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Reconnect

Configures a standard reconnection strategy, which specifies how often to reconnect and how many
reconnection attempts the connector source or operation can make.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Frequency</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How often to attempt to reconnect, in milliseconds.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How many reconnection attempts the Mule app can make.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Reconnect Forever

Configures a forever reconnection strategy by which the connector source or operation attempts to
reconnect at a specified frequency for as long as the Mule app runs.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Frequency</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How often to attempt to reconnect, in milliseconds.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Expiration Policy

Configures an expiration policy strategy.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Max Idle Time</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Time Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>Time unit for the <strong>Max Idle Time</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable In Memory Stream

Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX
buffer size. Always run performance tests to find the optimal buffer size for your specific use
case.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Initial Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by <strong>Buffer Size Increment</strong>, with an upper limit of <strong>Max In Memory Size value</strong>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Size Increment</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a <code>STREAM_MAXIMUM_SIZE_EXCEEDED</code> error is raised when the buffer gets full.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a <code>STREAM_MAXIMUM_SIZE_EXCEEDED</code> error. A value of less than or equal to <code>0</code> means no limit.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>Unit for the <strong>Initial Buffer Size</strong>, <strong>Buffer Size Increment</strong>, and <strong>Buffer Unit</strong> fields.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable File Store Stream

Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream
content in memory. If the stream content is larger than the configured buffer size, Mule backs up
the buffer’s content to disk and then clears the memory.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>In Memory Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:</p></div><div><ul><li><p>Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.</p></li><li><p>Configure a smaller buffer size to decrease memory load at the expense of response time.</p></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>Unit for the <strong>In Memory Size</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable In Memory Iterable

Configures the repeatable in memory iterable type.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Initial Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by <strong>Buffer Size Increment</strong>, with an upper limit of <strong>Max In Memory Size value</strong>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Size Increment</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a <code>STREAM_MAXIMUM_SIZE_EXCEEDED</code> error is raised when the buffer gets full.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a <code>STREAM_MAXIMUM_SIZE_EXCEEDED</code> error. A value of less than or equal to <code>0</code> means no limit.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable File Store Iterable

Configures the file store iterable type.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>In Memory Objects</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum amount of instances to keep in memory. If more than that is required, content on the disk is buffered.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>Unit for the <strong>In Memory Size</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### HTTP Response Attributes

Configures HTTP response attributes for the configuration.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Status Code</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>HTTP status code of the response. Former 'http.status'.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Reason Phrase</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>HTTP reason phrase of the response. Former 'http.reason'.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Headers</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>Map of HTTP headers in the message. Former properties.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### Burst Api Limit Config

Use **Burst API Limit Profile** if the specified burst API limit of the Veeva Vault API reaches or
exceeds the configured threshold value.

If the value of **Burst API Limit Profile** is set to `Burst api limit config (Default)`, the
connector evaluates the specified burst API limit of the Veeva Vault API response header
(`X-VaultAPI-BurstLimitRemaining`) against the configured threshold value. If the remaining burst
API limit reaches or exceeds the configured threshold value, the connector waits for the specified
amount of time to restart the count for **Burst Limit Remaining**.

For more information, refer to https://developer.veevavault.com/docs/#api-rate-limits\[API Rate
Limit Headers\].

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Api Limit</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Veeva Vault API threshold limit. When this threshold is reached or exceeded, the connector waits the specified time.</p></div></div></td><td><div><div><p><code>200</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Wait Time</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Time the connector waits once the threshold value reaches or exceeds the remaining API calls.</p></div></div></td><td><div><div><p><code>5</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Wait Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>Time unit for the <strong>Wait Time</strong> field.</p></div></div></td><td><div><div><p><code>MINUTES</code></p></div></div></td><td><div></div></td></tr></tbody></table>

### Daily Api Limit Config

Use **Daily API Limit Profile** to configure the API limit threshold that is evaluated against the
remaining daily API limit calls. If the daily API limit calls reach or exceed the specified API
limit threshold value, an exception is thrown. **Daily API Limit Profile** is disabled by default.

For more information, refer to https://developer.veevavault.com/docs/#api-rate-limits\[API Rate
Limit Headers\].

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Api Limit</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>API limit threshold value to set the allowed daily limit for the number of API calls. Once the API limit threshold value is reached, the connector throws an <code>API_LIMIT_EXCEED</code> exception for each request invoking an API call.</p></div></div></td><td><div><div><p><code>10000</code></p></div></div></td><td><div></div></td></tr></tbody></table>

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
