I use an old version of Bonita (5.2).
I would like to launch the service 'synchronize' which may be launch on UserXp. You can access it on this menu : Settings > Synchronization > Synchronize (Force re-calculation of the case count....)
It seems to be useful when you have to delete cases by the runtime api, but actually i can't found where i can call this 'synchronize functon' in my program, by example, after calling a cleaning of my instances (old ones) by runtime api.
Do you have any ideas ?