Updating Business Variable through REST API

1
0
-1

Is it possible to update a business variable during the execution of an instance using the REST API? I tried updating process variables, and it works great. However, I couldn't find a way to update a business variable. Using version 2023.2.

1 answer

1
0
-1

Hi alecastro,

You can query the BDM. See: https://api-documentation.bonitasoft.com/latest/#tag/BusinessDataQuery
Though updating a business variable is not possible through the REST APIs directly. The recommendation would be to send this value through a process variable and on your task, use an operation: https://documentation.bonitasoft.com/bonita/latest/process/operations#_o...
This is a better idea as you could double check in your back the value before inserting it on your BDM.

Hope this helps,

-Thalía

Notifications