variable

Impossible to retrieve the description of a process variable

Hello,

I need to retrieve the description of a variable from a BPM process using the Bonita API, and it always returns the null value.

Does anyone know how to retrieve this description value?

I'm using the Bonita Community version 2022-1.

Best regards

Variable en bonita

Muy buenas tardes a todos, alguien podria decirme como puedo hacer para colocar variables en bonita, aparte como se puede hacer para que existran varios eventos con el mismo nombre, ya que no se puede o aparece error.

Custom Page Case List

Hello,

I checked the resources in the admin page for the custom page of the case list (user profile version) but it only has the task list and process list. Is it only available for paid editions? I was hoping to find a way to display the list of cases that has been performed by the users just like the case list in the user page of the portal.

Aside from this, is there any way to copy a process variable from one diagram to another?

Thank you very much!

is it possible to modify BDM variables in an application page?

Hi,

I'm looking for a way to modify a bdm variable in an active case from an application page.

I can access the variable with the REST API using the case context but how can I make the update in the database when clicking on a button?

Is it possible or do I have to use a Process Task in order to update a BDM variable?

Is it the same problem with the case variables?

String variable in MySQL connector

Hi!

I'm trying to set a query with a string variable in the script. I have set the database connection in the query script the value
SELECT idOR from Personal where name='${variablename}'

And the error that appears in the engine log is written the without the single quotes. I have tried to escape them (\'), tried double quote, and each time the query is done without any quotes.

How can I quote the value of my string variable thus the query is right?

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.

Using a Variable in a Query

Hello all,

I have been attempting to insert a variable into a query and have found many different posts around the internet telling me to do it many different ways. For example... if I had the query

select veg_cat_code from geo_feat where geo_feat_id = '5';

I want to have it be

select veg_cat_code from geo_feat where geo_feat_id = 'variableToBeQueriedWith';

I can't seem to find out how to do this. I've read that

select veg_cat_code from geo_feat where geo_feat_id = '${variableToBeQueriedWith}';

[RESOLVED]Récupérer les données d'un connecteur dans une variable et pouvoir accéder à cette variable dans un formulaire

Bonjour tout le monde,

Je débute sous bonita et j'utilise bonita 7.

J'aimerais pouvoir simplement utiliser un connecteur pour récupérer une liste de données dans une base et pouvoir afficher cette liste dans un formulaire.

J'ai crée mon connecteur, je le test il me renvoit des données. C'est pour la suite que je sèche.

Variable doesn't get updated if custom widget uses asynchronous call (REST)

Hi,
I've built a custom widget (thanks to quentin ) that retrieves a variable from an activity, by using Bonita REST API.
The variable is displayed by the widget, but I want it to write that value into a variable defined in the editor.

So I did a bidirectional binding. The variable never gets updated. By testing, I found out that the problem seems to lye in the asynchronous call. I've tried several things ($scope.$apply, variable = return $http...) but did not succeed.

Variable in DB Connector

Hello I'm trying to pass a whole sql string into the connector.

For example i have the var SQLSTRING

then in the connector i only write ${SQLSTRING}

when i try to test the connector the following message appears

"Type of expression not admitted for test:
-Entry parameter ´script' is using an expression that contains an unreachable reference"

why is this happening?

Thanks

Notifications