Declare-index rule producing two records instead of one
Two different deferred-saves generate a "WRITE INDEX" event in the tracer. Two index class records are produced when only one is expected.
Steps to Reproduce
Include a deferred-save to produce a WRITE INDEX event in Work-.SaveAttachment, and another one in RecalculateAndSave activity.
Having two "WRITE INDEX" events is normal, and one can be expected each time a deferred-save is performed if property is changed that is mentioned on a declare-index rule. However, the multiple "WRITE INDEX" events should get coalesced by the system into one record in the index table, but two different pages, each containing the same object, were being used as the step page.
Use the same work page throughout the transaction rather than using a second page.
Published April 4, 2016 - Updated October 8, 2020
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.