06-19-2018 06:34 PM
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
06-21-2018 06:56 AM
You set your Login dialog to authenticate to ACS services, but try to execute the APS apis. The provider needs to be "BPM" in your case I believe.
06-21-2018 07:24 AM
I have installed Alfresco community edition....
Does it mean that i must restart all the project with APS ?
06-21-2018 07:27 AM
As it is stated in the requirements, you need an APS enterprise to use with ADF if you invoke APS public rest api, and ACS enterprise or community if you call the ACS public rest apis. In you screenshot, you are trying to call APS public api but use ACS login.
06-21-2018 07:50 AM
OK. Thank you for your help and that interesting discussion.
I will try another way to sort my list 😉
Explore our Alfresco products with the links below. Use labels to filter content by product module.