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.

- Support for Different Salesforce Org to Execute Your Document Actions
- Dynamic Design Time Action Id and Version prompting from your published services. No need to know what Action UUID or Semantic Version are published and typos

Configuration:

1
Input - Mule Message - Payload



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}/executionsSubmission 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, orMANUAL_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.


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
