Hi there,
Does anyone know how to list the tasks asisgned to a user via the alfreso-js-api ?
I'm using the TasksApi.listTasks method but the documentation describing the TaskQueryRepresentation parameter is dreadful. (Unfortunately very typical of Alfresco developer documentation)
https://github.com/Alfresco/alfresco-js-api/blob/development/src/api/activiti-rest-api/docs/TaskQueryRepresentation.md
I'm assuming "assignment" is the option I need to set but all the docs tell me is that its a "string". Great, no help whatsoever.
The REST API docs are no better, again its a string.
I've tried using user names, emails, id etc, but all seem to be ignored. I've even tried putting complete junk into the field and it still returns all tasks for the current user (admin) so I'm begining to think assignment is not the field I'm after.
Any ideas?
Thanks
Paul