Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By marcosfpa
#815097
Hello, I created a page on my intranet and using the processmaker API I'm listing the users' tasks, but the list of tasks takes too long to load. Is there any way to optimize the task search for the API to be faster?
By marcosfpa
#815309
He changed his pace a lot to get the job done. But there is a detail, I am looking for the supervised tasks of the user through the GET extrarest/cases/review endpoint but only returns 25 tasks ... Is there a lock? Or a way to search for all the tasks the user oversees?
User avatar
By amosbatto
#815310
marcosfpa wrote:But there is a detail, I am looking for the supervised tasks of the user through the GET extrarest/cases/review endpoint but only returns 25 tasks ... Is there a lock? Or a way to search for all the tasks the user oversees?
You can use:
GET /extrarest/cases/user/:user_uid
Set the 'action' to 'to_revise' and you can set the 'limit'.
User avatar
By amosbatto
#815415
marcosfpa wrote:But I still have another question about the API: I'm using the http://wiki.processmaker.com/3.2/REST_A ... ssign-case endpoint to reassign task but while fetching users when there is group assigned to the task or in ad hoc does not return users ...
Is there any way to return users when there is a group?
You can use these endpoints:
Get Assignees to Task: GET /project/{prj_uid}/activity/{act_uid}/assignee
GET /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/adhoc-assignee
GET /group/{grp_uid}/users

Web3 development encompasses creating decentralize[…]

The Upland Clone Script, offered by Dappsfirm, rep[…]

Dappsfirm offers a bet365 clone script that mirror[…]

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]