SLA

This page details the SLA endpoints and the actions they support. It provides sample URLs and results for quick reference, along with further instructions on how to use each endpoint.

web/json/workflow/activity/sla/list

Retrieve the first process with details of every package.

  • User Role: Admin
  • Method: HTTP GET/POST
  • Parameters: 
    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • appId - (Optional) app definition id
    • appVersion - (Optional) app definition version
    • processDefId - (Optional) process definition id without package id and version
  • Sample URL: http://localhost:8080/jw/web/json/workflow/activity/sla/list?appId=crm
  • Sample Result: 
{
    "total": 3,
    "data": [{
        "ratioOnTime": 100,
        "activityDefId": "approval",
        "serviceLevelMonitor": "<span class=\"dot_green\">&nbsp;<\/span>",
        "minDelay": 0,
        "ratioWithDelay": 0,
        "maxDelay": 0,
        "activityName": "Approval"
    }, {
        "ratioOnTime": 100,
        "activityDefId": "parallel",
        "serviceLevelMonitor": "<span class=\"dot_green\">&nbsp;<\/span>",
        "minDelay": 0,
        "ratioWithDelay": 0,
        "maxDelay": 0,
        "activityName": "Parallel"
    }, {
        "ratioOnTime": 100,
        "activityDefId": "route1",
        "serviceLevelMonitor": "<span class=\"dot_green\">&nbsp;<\/span>",
        "minDelay": 0,
        "ratioWithDelay": 0,
        "maxDelay": 0,
        "activityName": "Route 1"
    }]
}

 

 

Created by Damian Last modified by Aadrian on Dec 13, 2024