Recuiting volunteers using BonitaBPM

Hi

I hope this isnt a too-basic question, but I have been playing with BPM now for 1 day and am hoping to build an application that allows our community project to process the recruitment of volunteers.

I think I “get” most of how this can be done except for the initiation task. In our case, the initiation would be started by someone we dont yet know (ie:: not a know user/actor) filling out a form with personal details which should result in that person becoming an “actor” in the BPM. So I am after a way of automating the creation of an actor/user/member as the result of a form being filled out anonymously.

Is that possible? If so – could you suggest some starting points for a “how to”?

Very many thanks.

Chris

1 Like

Yes this is a common question,

and welcome to the board.

The way to do this is as follows:

  1. Create a Sign-In-Form OUTSIDE of Bonitasoft, using your favorite tool.
  2. Add Javascript to Sign-in with REST
  3. Check User does not exist, if so return error else
  4. Create the user
  5. Start a process to Assign a Profile (for some reason not available in REST) - Use the ProfileAPI
  6. Send them an email to confirm their email address
  7. Sign-out.

See the REST documentation about this.

Note that Anonymous users are not supported in 7…

http://documentation.bonitasoft.com/?page=comparison-of-7-x-and-6-x

regards
Seán

PS: As this reply answers your question, please mark as resolved by ticking the tick mark on the left of this reply.

Many thanks for the answer Sean.

FYI: After further digging and experimentation I have actually found a way of doing this in pure bonita (ie: no external page or script). Once I’m happy that the approach is production-worthy, and post it here.

Regards - Chris