We don't know if your code is more similar to #19 or #20, but #19 has a bug we didn't note. For an "update" request, setFieldValue() will affect criteria if you have not previously called setValues() (see JavaDoc for setFieldValue()). So what you have is a dsRequest with no values to apply (should be reported better).
Call setValues() with a Map with the deletedFlag, similar to the code from #20, to correct this.
Call setValues() with a Map with the deletedFlag, similar to the code from #20, to correct this.
Comment