Login to bonita Portal with certain user

I have an application that communicates with Bonita through the REST API. Whenever I try to start a case from a given process I use forms in order to do that. My question is, I login in my app with a certain user (say helen.kelly) but when I open the form from the app, the user that is going to fill the form is the user logged in in the bonita portal which may not necessarily be the user logged in my app. I want to know if there is a way to open the form and automatically log in with a given user.

Javascript inside a Bonita Designer form


I have a observation.
The Scenario is that I have a custom Living app page. There I have 2 separate Lists of type multiple.
My contract is a Single list of Type multiple.

What i am doing here is Adding the values of the 2 lists together and sending it to my contract.
I am using JavaScript to perform this.
In side the custome page , it works fine.

Bonita Community Edition 7.3 - Several Troubles

Hi, everyone! I am new at Bonita and i have some issues, which i couldn't find a solution yet. So I thought to ask for your help.
Anyway, my troubles is the following:

How to use bonita forms in external app


I want to create custom application with use of bonita software, I already know that I can communicate with bonita via Rest API but I need to know how to display forms created in UI Designer in my application (via Rest API method ?). I wander whether it is possible to create application outside bonita world which will use all bonita features.

Aggregated BDM sub-objects filling from UI forms

Hi there,

I'd like to get some best practices / how-to info regarding filling BDM fields in sub-objects connected with aggregations.

For instance, I'd like to use a global process pool object "Research" containing aggregated subobjects such as "Operations" that are to be created & populated.
The main "Research" fields are populated in a first form attached to a specific task and the "Operation" subobject list is to be populated within a repeat container in a following form.

How can i use an external form instead of Bonita form?

I have a simple process, that contains 2 HumanTasks. I want to use an external form using html page. I have reviewed this information:

But , as i have the Bonita Comunity 6.5.1 version , i can not do . Likewise , also i did not understood the information that contains the link.

So how can i do it ?


submit button and access to the next form

I have two human tasks: Step1 and Step2. I want that when I finished the first redirected to the form of the second. In the form of the first task I have defined the following variables:

myTask (externalAPI): ../API/bpm/task/{{taskId}}
myCase (javaScript): return $data.myTask.caseId
urlNextTask (javaScript): return '/form/processInstance/' + $data.myCase +'/task/Step2'

In the "Target URL on success" of de button submit write: /bonita/portal/{{urlNextTask}}

Issue making a "Loading..." text for a widget.


I've made a custom widget for retrievieng some information about a case using the $http service (XHR) from AngularJS.

The widget loads successfully the data but it appears by parts (since it loads) then I put a div with te directive ngShow for showing a "loading..." text while the data is loading.

Well, that it works partially, because, randomly, it stuck with the "loading..." text.

Here is the controller code:

Get current date on a new Bonita 7 form


Maybe this is a dumb question but I've had issues trying to get the current date in a form.

First I create a variable and I call it "currentDate" as this JS expression:

return new Date();

Then I put a widget (text, input, title, etc) with this value.

Today is {{ currentDate | Date }}

Then I try the form.

When the form runs, it enters on an infinite loop, It always refresh the variable.