Hello,
In my use case, each case has a product_id
which is a business data attribute and related to our internal business logic.
I’m looking for a way to get the case_id
given a product_id
.
I did manage to do the other way around, meaning getting the product_id
given a case_id
using the case context.
Indeed if I search for the case context I get a response with the form described in the documentation https://documentation.bonitasoft.com/?hash=retrieve-the-case-context&page=bpm-api#toc25
I then can get the storageId
and the type
and match them with my business data. storageId
would then match persistenceId
and type
, businessDataType
.
But how can I search cases by context using storageId
and type
?
Thanks for you answers.