UI designer ExternalApi Promise

Does ui designer external api call returns a promise ?

Hi,

Im very new to bonitasoft.

I need to know wheather the api call from ui designer forms returns a promise ?
my scenario is that i have a custom widget for bootstrap alerts and i need to get the alert messge from the api call from business data model. And give the message as a property to the custom widget. The messge is undefined as the custom widget is not waiting untill the api call is complete and data is fetched back.

Any suggestion would be a great help :)

Notifications