script task

Is it possible to create bonita user using script task?

I tried to create a user in bonita portal using a script task.

use the following code and failed without success.

// First of all, let's log in on the engine: org.bonitasoft.engine.api.APIClient apiClient = new APIClient() apiClient.login("install", "install") // create new user, with username john and password bpm IdentityAPI identityAPI = apiClient.getIdentityAPI() final User user = identityAPI.createUser("john", "bpm") System.out.println("New user created: " + user)

Is it possible to create bonita user using script task? If possible what am I got wrong here?

Difference between "service" and "script" tasks?

Can someone explain the difference between the service and script task types?

And also: the difference between an "end" (the light coloured red circle) and "terminate end" (the dark red circle)?

Many thanks

Notifications