create a top case and add child case to that top case. There are 3 case types
I have such a requirement to create a top case and add child case to that top case. There are 3 case types. Let's say A, B, and C. I am creating case B from case A as a top case using pxCreateTopCase. Right after the creation of case B, I need to add case C as a child to B. I tried to call CreateCoveredObject for case B, but I get "Save, Delete or Commit has failed because lock "xx" is not held" error for case A. What are the other ways to create a top case and immediately add child case to it?