Hi,
This is what i have done :
getActiveTasks (user): Promise<{}> {
const listScriptPath = 'api/task-instances?authority=' + user +
'&properties=wfvd_nomService,bpm_priority,bpm_status,bpm_dueDate,bpm_description&exclude=wcmwf:*&skipCount=0&maxItems=1000&';
return this.apiService.getInstance().webScript
.executeWebScript('GET', listScriptPath, this.scriptArgs, this.contextRoot, this.servicePath);
}
And this is what I get :
Is it possible to sort the results by id ?
I think i can use "orderBy" with "DESC" option in listScriptPath variable
but i don't find the correct syntax
thank you in advance