#javascript

How to populate a Table Widget in Bonita 7.4.2 from a REST API Call?

I am a newbie at using Bonita for the automation of a customer onboarding process and wish to display the customers from REST API call which is powered by MySQL Server.

Currently, my approach is to bind the content of the table to a variable that contains JavaScript code to make the REST API call and return the response.

When I try to execute the form with this approach, it gives me the following error:
Uncaught DOMException: Failed to construct 'WebSocket': The URL 'wsockets/254/4v399h8_/websocket' is invalid.

Javascript Error and Converting Id to Name in Custom Case Overview

Hi,

I have an error in my custom overview page. My error is java script cannot execute properly and my conversion of id to name using the API identity is not working.

The java script contains this one. $item is the value of my collection. It gets the value of the company in my bdm. Since this is a custom overview for me to get the value of bdm i created a container a put the value in collection.

How to Use custom HTML and JavaScript To Export Data to Excel

Hi
I have BonitaSoft BPM 7.3.1 .
I have a Custom Application Page fetching Data from an API call. The Data is displayed in a tabular format.
Now I need to export the same data as an Excel Sheet.
I need to have a button to export the Data .

How to calculate days difference between two Dates variable & display the result in the text field?

I am trying to calculate difference between two dates and display the days difference in text field using Bonita BPM Community 7 Version 7.3.1. I am new to Bonita give me some idea that on which event i have to calculate Date difference and display in text field. There is no onselect like events for input type Date in Bonita?

How to calculate days difference between two Dates variable & display the result in the text field?

I am trying to calculate difference between two dates and display the days difference in text field using Bonita BPM Community 7 Version 7.3.1. I am new to Bonita give me some idea that on which event i have to calculate Date difference and display in text field. There is no onselect like events for input type Date in Bonita?

Rest authorization

Hi, I am trying to get list of process instances (or any other rest api data I can get) by making a XMLHttpRequest from Javascript. The loginservice request comes through, but when I try to get the process instances json, response is 401 unauthorized, because the cookie isn't set. Can you please tell me why is that? Just to mention, I tried the withCredential option because I can't manually set the cookie, but it doesn't work.

Notifications