Updating Business Variable through REST API

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.

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#_operation_types
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