Dead Lock situation in MDM Check in Check Out thru API
We have tried different options to join the check out using API but facing the dead lock situation.
Here is the scenario:
Step 1: User X imports the records in repository with import manager with check out option enabled in the import map. à This will check out the new records exclusive
Step 2: User X modify the joint permission and add user u201CYu201D to join the check out
Step 3: User Y tries to join the check out using the API (com.sap.mdm.data.commands.JoinCheckoutRecordsCommand) à we need to provide the RecordID to join the check out by calling method addRecordId to execute the API.
We have an issue here that we are not able to retrieve the RecordId ( API com.sap.mdm.data.commands.RetrieveRecordsByValueCommand) of checked out records with exclusive mode. We need to join the check out to find the RecordId but to join the check out we need the RecordId again. So it is a dead lock situation for us.
MDM Version: 188.8.131.52 - SRM MDM repository
Can someone please help us getting this resolved ASAP?
Thanks and Regards,