Bonita Engine API on the server

1
0
-1

Hi everyone,

I wanted to know if anyone has dealt with Bonita engine API on the server. I have a process that works on localhost, but when I transfer it to the server it seems like the process is not passing variables that are used with Bonita engine API - apiAccessor.identityAPI to be exact. I saw somewhere in the documentation that there might be a file that needs to be re-configured from localhost to server address for the engine API once the application is on a server. Would anyone be able to help with this? Thanks in advance.

1 answer

1
0
-1

Hello,

it's more simple than that. The Bonita Engine API is available everywhere (in Connector, Operation, REST API, Variables initialization) !

but when I transfer it to the server it seems like the process is not passing variables that are used with Bonita engine API

I don't understand that sentence. What do you mean by "passing variables" ?

Where do you want to access this API?

* from a connector?

* from a REST API?

* From an external software, a client to communicate to a server?

In all this function, you have an "apiAccessor", then you can call (in a connector for example)

"IdentityAPI identityAPI = apiAccessor.getIndentityApi()"

So you don't need to "pass a variable", just use the apiAccessor to get it.

Waiting your feedback,

Best,

Notifications