agilite
Advanced tools
Comparing version 6.9.1 to 6.9.2
@@ -140,3 +140,3 @@ 'use strict' | ||
getRecordState (processKeys = [], bpmRecordIds = [], stepNames = [], responsibleUsers = [], relevantUsers = [], includeHistory = true, includeStepOptions = true, includeVisibleObjects = true, page = undefined, pageLimit = undefined, logProcessId = null) { | ||
getRecordState (processKeys = [], bpmRecordIds = [], stepNames = [], responsibleUsers = [], relevantUsers = [], includeHistory = true, includeStepOptions = true, includeVisibleObjects = true, page = undefined, pageLimit = undefined, sort = undefined, logProcessId = null) { | ||
let config = { | ||
@@ -200,2 +200,6 @@ url: `${this.apiServerUrl}/${Enums.MODULE_KEY_BPM}/getRecordState`, | ||
if (sort !== undefined && sort !== null) { | ||
config.headers['sort-date-created'] = sort | ||
} | ||
return Utils.executeRequest(config) | ||
@@ -202,0 +206,0 @@ } |
{ | ||
"name": "agilite", | ||
"license": "MIT", | ||
"version": "6.9.1", | ||
"version": "6.9.2", | ||
"description": "A NodeJS module that provides seamless interactions with Agilit-e APIs", | ||
@@ -6,0 +6,0 @@ "homepage": "https://agilite.io", |
334202
7382