Find User by Professional Detail Email Address

1
+1
-1

Using the Rest API is there a way to filter users by the email address in professional details? I need a way to find a userid or username by email address. Looking into the Rest API it looks like the only way to get back professional details is by the user id. Is filtering users by professional details email address at all possible with the existing Rest API?

If this is not possible, I will need to write a custom API for this within Bonita. I would appreciate some suggestions to get me started as I am new to writing processes in Bonita. Thanks!

1 answer

1
0
-1

Unfortunately, it is not currently possible to do such search using the REST API or engine API currently.

In the engine API, though, there is a method IdentityAPI#getUserIdsWithCustomUserInfo

The only solution I can think of would be to set the email as a custom user info and write a REST API extension that call this method.

Notifications