Returns list of workflows to which the user has permission.
Method
POST
URL
https://localhost/Flowtime/_vti_bin/Flowtime/ProcessesService.svc/GetData
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
PageSize | integer | optional | Number of records returned on a page. |
PageNum | integer | optional | Number of the page to retrieve records for. |
ContextMenuId | string | optional | Name of menu for the item. |
IgnoreUserTime | boolean | optional | Engine time or user time. |
SortDirection | 0,1 | optional | Sort by desc or asc. |
SortField | string | optional | Name of field by which to sort the returned instances. |
CategoryId | guid | optional | Filter the list to display spaces in a certain category. |
Example Request
var request = {"request": {"PageSize":20, "PageNum":1, "ContextMenuId":"default", "IgnoreUserTime":false, "SortDirection":0, "SortField":"WorkflowTemplateName", "CategoryId":"00000000-0000-0000-0000-000000000000"}} $.ajax({ type: 'POST', url: "/_vti_bin/Flowtime/ProcessesService.svc/GetData", contentType: "application/json; charset=utf-8", dataType: "json", data: JSON.stringify(request), headers: { "uiculture": "en-GB", "culture": "en-GB", "X-SqXsrfToken": xsrf }, success: function (data) { alert(data); }, error: function (error) { console.log(error); } });
Response Parameters
Name | Type | Description |
---|---|---|
CurrentRows | integer | Number of items returned. |
Items | array | List of items returned. Each item contains properties as defined in the config file, for example {WorkflowInstance:1 ,[etc.]}. |
TotalRows | integer | Number of total items in the system. |