Accelerate the Value of Data

Get Status of Workflow Adapter

Request

Operation Endpoint:

GET  {workflowPath}/workflow/status 
Table 1. Parameters
Parameter Required Description
Headers Authorization Yes Access Token in format "Bearer <accessToken>" (see details in Authentication API).

Response

Response Structure:

  • processInstances- number of process instances running
  • tasks- number of open tasks
  • serverVersion- version of the server
    • hash- commit ID
    • branch- current branch name
    • commitTime- time of the commit
  • 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

Sample Response JSON:

{ 
"processInstances":20, "tasks":20, "status":"OK",
  "serverVersion": { "hash": "46ba3417e01084cb78a58b4dc6c5c55f7e6dc7bf", "branch":
  "master", "commitTime": "15.09.2016 @ 18:35:05 IST" },
  "activitiStatus" : "OK"
} 
Note: When "Authorization" is not given or the access token is invalid, only "Status" will be returned in the response.