Skip to content

MngGetWorkflowRun

Returns one workflow run log by id.

Runtime execution is planned for the next phase, but run log storage and read API are available.

Access

Manager sessions: SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER, SESSION_CRM_MANAGER, SESSION_CRM_ADMIN.

Request Parameters

Name Type Required Description
id int Yes Workflow run id

Request

{
  "command": "MngGetWorkflowRun",
  "extID": "1",
  "data": {
    "id": 1
  }
}

Response Data

{
  "run": {
    "id": 1,
    "rule_id": 10,
    "brand": "brand-a",
    "trigger": "deposit.created",
    "entity_type": "trade",
    "entity_id": 123456,
    "status": 2,
    "input": {},
    "result": {},
    "error": "",
    "created_time": 1778160000,
    "finished_time": 1778160001
  }
}