0

I would like to develop a REST API Extensions that access the Engine API in order to do some queries and then start a new process.

What is the best way to access the Engine API from such REST extension?

4

1 回答 1

0

Since Bonita BPM 7.2 you can use context.apiClientto access Bonita BPM Engine APIs from your REST API extension Groovy code.

For example in order to use the IdentityAPI simply use context.apiClient.identityAPI followed by the method you want to call: context.apiClient.identityAPI.getUsers(0, 10, UserCriterion.FIRST_NAME_ASC)

于 2016-04-17T10:35:14.530 回答