# Recuiting volunteers using BonitaBPM

**URL:** <https://community.ofelia.com/t/recuiting-volunteers-using-bonitabpm/7834>\
**Category:** Q&A\
**Created:** [29 September 2016 15:55 UTC](https://community.ofelia.com/t/recuiting-volunteers-using-bonitabpm/7834 "2016-09-29T15:55:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.lowth](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@chris.lowth](https://community.ofelia.com/u/chris.lowth)\
**Post date:** [29 September 2016 15:55 UTC](https://community.ofelia.com/t/recuiting-volunteers-using-bonitabpm/7834/1 "2016-09-29T15:55:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [30 September 2016 01:50 UTC](https://community.ofelia.com/t/recuiting-volunteers-using-bonitabpm/7834/2 "2016-09-30T01:50:10Z")

</div>

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](http://documentation.bonitasoft.com/javadoc/api/7.3/org/bonitasoft/engine/api/ProfileAPI.html#createProfileMember(java.lang.Long,%20java.lang.Long,%20java.lang.Long,%20java.lang.Long))
6. Send them an email to confirm their email address
7. Sign-out.

See the [REST documentation](http://documentation.bonitasoft.com/?page=rest-api-overview) about this.

Note that Anonymous users are not supported in 7…

[http://documentation.bonitasoft.com/?page=comparison-of-7-x-and-6-x](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._

---

<div class="post-metadata">

**Author:** ![chris.lowth](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@chris.lowth](https://community.ofelia.com/u/chris.lowth)\
**Post date:** [3 October 2016 06:46 UTC](https://community.ofelia.com/t/recuiting-volunteers-using-bonitabpm/7834/3 "2016-10-03T06:46:14Z")

</div>

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
