In our Application we are trying to process three XMLs to create and update a case in a single thread of agent processing. The solution I am using to process the record is like first I will process 1st XML and Commit the changes and I ll process 2nd XML . While Processing 2nd XML in I am opening the Subcase to update the 2nd XML but the page holds only the previous values . so proper update is not happening in the case.
In the first XML update I am resolving a subcase and creating a new one , but during the second XML update commit it is throwing a error like lock is not held on the record which I resolved in the first update.
Issue : The second update is not happening to the case .
Could you please suggest how agent is committing the record ?
***Updated by moderator: Lochan to update Categories***
I think this is with locking of parent case which is lost once you are resolving the 1st case. Pls try with Obj-Refresh-And-Lock option on parent case to acquire the lock again post resolving the 1st case.