Select a user and store his ID

Hello guys !

I want to select a list of users in a form and store them in the database.

In my project the user wants to select some projects (create a video / create a website / create a poster / ....), Each "project" has his own object in Database. For each project the user should be able to select a list of user who will be in charge of the project.

Get html of form of a task via API

Hi everyone,

I have a human task to which I defined a form through the editor. Is there a way to obtain the html code of such form via the REST API?

Edit: I tried 3 different ways to get the html form throught the API:

404 Error on loading of form and click on Submit Button

Hello, I'm having trouble with the submit form of a button. Nothing happens after the submit button is clicked and I get the following error on the browser console:

"Failed to load:

resource: the server responded with a status of 404."

url a formulario

Hola, estoy intentando desde una página, mediante un link, ir a un formulario. Lo he intentado siguiendo la documentación de bonita pero por alguna razón se me queda la página en blanco, utilizando tanto el nombre de la tarea como su id que he conseguido averiguar. Igualmente con el proceso he intentado a través de su id y de su nombre, pero nada, he realizado multiples convinaciones pero no doy con ello

Form data not passed to business variable

Hello All,

My process have a simple business object / variable. I have created a simple script that returns the new instance with the default values for the mandatory fields.

I have created an instantiation form with a simple text field, according to the contract defined for the instantiation step (object.attribute), but the value is never passed to the business variable. It's like the variables is instantiated AFTER the form as been invoked and submitted.

If I take a loot at the database, I see the default data returned in my script.

Know all the inputs in a form

Hi all,
Is there a way to know all the inputs in a form, either mandatory or not, through the REST API? Bare in mind that I know how I can obtain the mandatory inputs (using the task contract), but I want the the not mandatory ones aswell.
Thanks in advance

get mandatory fields in form (REST API)

Hi all,
How can I know if an input in a form is mandatory or not through the REST API?
Also I'm trying to update a process variable's value by giving it a value in an instantiation form..but the variable is not updating, any help?

this is my formInput (JSON):

"requestInput" : {
"leaveStart" : null,
"dayCount" : null
"mycenas" : null

this is my formOutput:

return {
'requestInput': $data.formInput.requestInput,
'mycenas': $data.cenasValue.value

Unable to get button on app page to start process or open Instantiation Form

On my app page, I've created a button to start a new order, which should initiate the process by opening the Instantiation form. My page is based off the travel request tutorial. I found some other threads regarding similar issues.

¿How could I copy an entire Bonita Form, or re-use?

Hi all

I am a newbie at Bonita 7.2.0, and have some questions.

I have many forms that are very similar, and I would like to copy a rename a form to use the same base.
I have investigated and it can't be done, I have seen the fragment in the subscription version, and they can be re-used in different form.
But can I copy a form, and rename it and use it in different task, or this isn't possible, the unique option are the fragments, and only if you have the subscription version. Am I wrong?

Thank you very much.

Get ProcessVariable value to an external form and then bring form input back to a HumanTask.

I want to link my HumanTask1 to an external form and then upon form submission want to bring form values back to HumanTask2. How can I do that in version7.x?? I have found some doumentation in the previous versions, but that isnt helping much.

Can anybody plz help me with a small working example?