#api #bonita7 #variables #data #form #formUI #formUIdesginer

Using Custom REST API inside UI designer

So now i have been able to get the API running 100% working fine and i want to use the API inside the UI designer

API looks like this http://localhost:8080/bonita/API/extension/sqlExample?queryId=getPersona... it shows the complete REST API info like this

raven.png

and i want to use inside UI Designer , so i added a new variable and i used the API like this

How to populate a form with business data

Hello community,

can anyone explain to me where I went wrong in trying to show the business data of a case in a task related form?

In the form editor I declared the following variables:
context = ../API/bpm/case/{{caseId}}/context
crData = ../{{context.cr_ref.link}} // the name of the business object declared both in the BDM and the pool is "cr"

The values of the input fields in form are linked to the crData variable (for example: "crData.id").

[UI-Designer] Display Rest API result in dropdown list

Hello everyone,

I'm in front of a problem when i want to display users in a dropdown.
In UI-Designer, i have create an "External API" varriable with this url : '../API/identity/user?f="enabled"=true'

UI Designer - Why I'm getting the wrong business data model?

Hey guys,
I created in the past 3 tables that are accessing the business data via external API and it works. Now I added a new business data model, called "Druckfreigabe". But as soon as I try to get my Content via external API, I get the old model displayed. That doesnt make sense.

I used this line for my old buisness data model, called ManuskriptEinsenden:
../API/bdm/businessData/com.company.model.ManuskriptEinsenden?q=findByStatus&p=0&c=10&f=status=pending

Form editor Hidden property not work correctly

I have issue when I'm trying appear and disappear text based on condition (boolean data variable)
even the value become false - so the text must appear - nothing show.
I test that the value become true and false multiple time still the same.

api external name : restResult
api external value : ../API/bpm/caseVariable/{{task.rootCaseId}}/errorHide
hidden property fx defined as "restResult.value"

note that 'errorHide' variable declare as boolean process variable.

Notifications