Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • callback - (Optional) A function (in javascript) to call back after invoke this method
  • processId - (Optional) process definition id (Replace '#' with '":' " in id)
  • sort - (Optional) Column name to be sort
  • desc - (Optional) Boolean value to determine either sort by ascending or descending (true equals to descending)
  • start - (Optional) Rows start from
  • rows - (Optional) Number of rows per page

...

  • callback - (Optional) A function (in javascript) to call back after invoke this method
  • processId - (Optional) process definition id id (Replace '#' with '":' " in id)
  • sort - (Optional) Column name to be sort
  • desc - (Optional) Boolean value to determine either sort by ascending or descending (true equals to descending)
  • start - (Optional) Rows start from
  • rows - (Optional) Number of rows per page

...

Description
Retrieve process sla list. Work only with Process Data Collector Plugin

Parameters

  • appId - app id
  • appVersion - app version

...

Description
Retrieve activity sla list. Work only with Process Data Collector Plugin

Parameters

  • appId - app id
  • appVersion - app version
  • processDefId - process (Optional) Process definition id without version

...

Description
Retrieve running process list

Parameters

  • packageId - package (Optional) Package id
  • processId - process id(Optional) Process definition id without version
  • processName - process (Optional) Process name
  • version - process (Optional) Process version
  • sort - column (Optional) Column name to be sort
  • desc - boolean (Optional) Boolean value to determine either sort by ascending or descending (true equals to descending)
  • start - rows (Optional) Rows start from
  • rows - number (Optional) Number of rows per page

Sample Result

...

Description
Retrieve completed process list

Parameters

  • packageId - package (Optional) Package id
  • processId - process id(Optional) Process definition id without version
  • processName - process (Optional) Process name
  • version - process (Optional) Process version
  • sort - column (Optional) Column name to be sort
  • desc - boolean (Optional) Boolean value to determine either sort by ascending or descending (true equals to descending)
  • start - rows (Optional) Rows start from
  • rows - number (Optional) Number of rows per page

Sample Result

...

Description
Start a process instance with copy over workflow variable from a running process and start matching running activity in the new process instance

Parameters

  • callback - a (Optional) A function (in javascript) to call back after invoke this method
  • processId - process Process id
  • processDefId - process Process definition id
  • abortCurrent - (Optional) Boolean value of whether to abort the running process instance

...

Description
Retrieve monitoring activity list

Parameters

  • processId - process (Optional) Process id
  • sort - column (Optional) Column name to be sort
  • desc - boolean (Optional) Boolean value to determine either sort by ascending or descending (true equals to descending)
  • start - rows (Optional) Rows start from
  • rows - number (Optional) Number of rows per page

Sample Result

...

URL
/web/json/monitoring/activity/reevaluate

Method
HTTP GETPOST

Description
Evaluate assignment for activity

Parameters

  • activityId - activity Activity id

Sample Result

-

...

web/json/monitoring/activity/variable/(:activityId)/(:variable)

...

Description
Set value for variable

Parameters

  • callback - a (Optional) A function (in javascript) to call back after invoke this method
  • activityId - activity Activity id
  • variable - variableVariable
  • value - valueValue

Sample Result

Code Block
{"status":"variableSet"}

...

Description
Retrieve workflow activity view

Parameters

  • callback - a (Optional) A function (in javascript) to call back after invoke this method
  • activityId - activity Activity id

Sample Result

Code Block
{
  "activityId":"12001_9801_service_center_newpkg1_wp1_newpkg1_wp1_act2",
  "processVersion":"4",
  "activityDefId":"newpkg1_wp1_act2",
  "processId":"9801_service_center_newpkg1_wp1",
  "acceptedUser":"admin",
  "processName":"Service Center Escalation Process",
  "assignee":"admin",
  "participant":"level2",
  "processDefId":"service_center#4#newpkg1_wp1",
  "variable":
  [
    {"relatedTo":""},
    {"ticketId":""},
    {"status":""},
    {"complexity":""},
    {"priority":""}
  ],
  "activityName":"Update Ticket Level 2"
}

...

Description
Abort an activity in a process

Parameters

  • callback - a (Optional) A function (in javascript) to call back after invoke this method
  • processId - process id
  • activityDefId - activity definition id

...

Description
Start an activity in a process

Parameters

  • callback - a (Optional) A function (in javascript) to call back after invoke this method
  • processId - process Process id
  • activityDefId - activity Activity definition id
  • abortCurrent - (Optional) Boolean value of whether abort current running activity or not

...

Description
Evaluate assignments for an user

Parameters

  • username - usernameUsername

Sample Result

-

...

web/json/workflow/currentUsername

...

Description
Get current logged in user's username

Parameters

  • callback - a (Optional) A function (in javascript) to call back after invoke this method

...

Description
Get a list of published Userview

Parameters

  • appId - (Optional) App ID
  • callback - a (Optional) A function (in javascript) to call back after invoke this method

...

Description
Get a list of published process

Parameters

  • appId - (Optional) App ID
  • callback - a (Optional) A function (in javascript) to call back after invoke this method

...