Query User Info. using rest api

Hi, I tried to query user info using rest api.
I followed the rest api docs, but none of the api related to users works.
E.g. I tried to create a user. I send a “post” request to http://localhost:8080/flowable-task/process-api/identity/users
with the json body given in the docs
{
“id”:“tijs”,
“firstName”:“Tijs”,
“lastName”:“Barrez”,
“email”:"no-reply@flowable.org",
“password”:“pass123”
}

The response is HTTP Status 404 – Not Found.
Anyone know how to solve this problem?

Hi Ziwen,

Does a GET on that same url give you back a list of users?

Best regards,

Tijs

Hi, the get does not work either, it returns HTTP Status 404 – Not Found. So I thought I might need to create a user first, but the create api I mentioned above does not work either.
The other rest api works, just those related to the users did not give me the correct response.

Regards,
Ziwen

Hi Ziwen,

Will try to reproduce the issue and come back to you.

Best regards,

Tijs

The flowable-task application does not expose the identity endpoints. You’d have to use the flowable-rest application, it contains the identity endpoints.

Thanks for your reply, but I want to use modeler to design the process visually. The modeler needs to have all the users so that I can assign the task. But if I deal all the user data in flowable-rest, the modeler cannot get it, because flowable-modeler and flowable-rest are not connected.

Is there some easier solution? or I have to modify the code of modeler to get it connected with flowable-rest?

Regards,
Ziwen

hi ziwenzhao,

Do you got solution for this?
I am looking for the same

Hi,

rest endpoint to get all users https://flowable.org/docs/userguide/index.html#_get_a_list_of_users
You have to modify modeler to use this list as a selection there.

Martin