Unify and manage your data

Show Page Sections

Deploy Process Definitions

Learn about the API to deploy process definitions.

Use this API operation to deploy a process definition to create a workflow.

Request

Operation Endpoint:

POST {workflowPath}/workflow/deployments

See the operation on the Developer Portal.

Table 1. Parameters
Parameter Required Description
HeadersAuthorizationYes Access Token in format "Bearer <accessToken>" (see details in Authentication API).
Content-TypeYes Should be "Content-Type: application/json" .
EnvironmentURL YesReltio Environment URL.
Body fileYes *bpmn20.dita containing process definition(s).
tenantIdNoTenant ID.
nameNoName of the deployment.

Response

Response Structure:

  • deploymentId- ID of the new deployment
  • error- returned if an error is encountered, contains details of the issue:
    • errorCode- 5-digit error code
    • errorMessage- error message
    • errorData- details of the error:
      • exception- exception message
      • stack- stack trace
    • innerError - details of the error from Reltio API:
      • errorMessage- Reltio API error message
      • errorCode- Reltio API error code
      • innerErrorData- Reltio API inner error data
  • warning- returned if the operation is completed with some minor issues
  • status- result of the operation; possible values are "OK" or "failed"

Example

Request

curl --location 'https://test-workflow.reltio.com/workflow-adapter/workflow/deployments' \ --header 'EnvironmentURL: https://dev.reltio.com' \ --header 'Authorization: Bearer *****************' \ --form 'tenantId="f4k3ptEPNzhe61E"' \ --form 'name="newprocess"' \ --form 'file=@"/C:/Users/you/workflow-processes/newprocessdef.bpmn20.xml"'

Response

{ "deploymentId":"123", "status":"OK"}
Was this content helpful?