Search cases by context attributes using API

1
0
-1

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&pag...

I then can get the storageId and the typeand 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.

No answers yet.
Notifications