Bonita API in Groovy script

1
0
-1

Hello,
After looking for my questions' answer, I think it is very important to know how to use Bonita API in Groovy scripts, can you please hint me how to use APIs like reading users with a role without knowing role id ( /API/identity/role?p=0&c=100&o=displayName ASC ) ( using this one for example in groovy script)?
Thank you all

2 answers

1
-2
-1

Hello,

When you are developing in a Groovy Script expression, the variable "apiAccessor" will likely be provided to you (it depends on where the expression will be used). This gives you access to the Java APIs (not REST APIs).

The Javadoc of the IdentityAPI or ProcessAPI can give you a great understanding of what you can perform.

HIH,

1
-2
-1

Hello,

When you are developing in a Groovy Script expression, the variable "apiAccessor" will likely be provided to you (it depends on where the expression will be used). This gives you access to the Java APIs (not REST APIs).

The Javadoc of the IdentityAPI or ProcessAPI can give you a great understanding of what you can perform.

HIH,

Notifications