Skip to content

Service IDP - Execution - Submit

Equivalent to postDocumentActionExecution

Usage:

  • Compatible with any Document Action Version.
  • No more multipart which in itself highlights the confusion as it need only be Output Java.

Service IDP Execution Submit

Dynamic Drop Downs


Configuration:

Anypoint Studio Configuration

1

Input - Mule Message - Payload

Input Payload 1

Input Payload 2

Input Payload 3

2

Configuration Panel

General Region

  • Action id: If Basic Authentication configured you can expect dynamic loading of your org's actions. Action Id is the UUID found in the published exchange asset for your Document Action Version
https://idp-rt.us-east-1.anypoint.mulesoft.com/api/v1/organizations/{YOUR_ORG_ID}/actions/{YOUR_ACTION_ID}/versions/1.0.0/executions
  • Version semantic: If Basic Authentication configured you can expect dynamic loading of your org's action's versions. Version semantic is the version found in the published exchange asset for your Document Action Version
https://idp-rt.us-east-1.anypoint.mulesoft.com/api/v1/organizations/{YOUR_ORG_ID}/actions/{YOUR_ACTION_ID}/versions/{VERSION}/executions

Submission Options

  • Filename: Name and Extension of your doc to be submitted
  • Callback URL: You can define a callback URL when you call IDP to execute your document actions. If defined, IDP calls the callback URL when the document action execution finishes with state SUCCEEDED, FAILED, or MANUAL_VALIDATION_REQUIRED.
  • Override Salesforce Org ID: If you have multiple Salesforce Orgs connected with your Anypoint Platform organization, you can specify the Org to use when executing your document actions.
3

Output - Mule Message - Payload

The response from this operation contains the execution ID that you can use to retrieve the execution results.

Output Payload 1

Output Payload 2

json
{
   "id":"{YOUR_EXECUTION_ID}",
   "documentName":"IDP-PO-CD656092-BurlingtonTextiles.pdf"
}

Underlying API:

See the IDP Runtime Service API specification for the full OpenAPI definition.

Endpoint: POST /api/v1/organizations/{organizationId}/actions/{actionId}/versions/{versionSemantic}/executions

Released under the MIT License.