Form

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:
http://localhost:8080/bonita/portal/resource/process/Gestion%20de%20Cita...

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
http://localhost:8088/bonita/portal/form/process/SolicitudPermisos/task/...

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?

¿Como introducir un check-box o radio buton en las filas de una tabla para elegir un elemento de la tabla?

Hola a toda la comunidad de Bonita, cualquier ayuda será agradecida, soy novato en bonita 7.2.
El problema es que voy a mostrar una tabla de Items (Widget de bonita) , y quiere poner un radio button en todas las filas y si selecciono una de las filas que se muestre deba jo de la tabla en un paner otros campos con más detalles sobre la fila seleccionada, pero sin ocultar la tabla original.

Por lo que he podido ver no lo permite el UIDesigner, y no se me ocurre como hacerlo.
Supongo que para hacerlo tendré que hacerme un Widget personalizado hecho por mi que haga esto.

¿How to put a check-box or radio button into the rows of a Table to select one row?

Hello to the hole Bonita community, I’m new in Bonita 7.2, any help will be appreciated.
This is the problem:
I have a table in the form with different rows and I need to select one of the rows and show the details of the selected row in a panel below the table.
I can't see the way of adding a check-box or radio-button into a table.
I think this isn't possible, and I will need to create a personalized widget or table to do this. Isn’t it?

If some know how to do it, I would appreciate.

Thanks!!

Notifications