Maybe I am doing something wrong with the serverEvents attribute?
That is correct. I am editing the same item that is saved.
Oddly, my wrapper method doesn't refresh the form but it still loops :/
I didn't want to use sql because I wanted the history to show when this value gets updated (Its the product category for our changes)
Here is the portion of the code in question, the server events is commented out due to me changing over to the onAfterVersion in my original testing since it didnt work:
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:bcea3037-9d7d-4171-a9e4-e69e7fb40bfe:type=text&text=%20%20%20%20ecrItem.setAction%28%22update%22%29%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20WriteLog%28%22ECR%20in%20Edit%20Mode%20-%20Item%20Lock%20Status%20%3D%20%22%2BecrItem.getLockStatus%28%29%2B%22%20Item%20ID%20%22%2BecrItem.getID%28%29%29%3B%0D%0A%20%20%20%20%2F%2F%20ecrItem.setAttribute%28%22serverEvents%22%2C%20%220%22%29%3B%0D%0A%20%20%20%20ecrItem.setAttribute%28%22version%22%2C%20%220%22%29%3B%0D%0A%20%20%20%20ecrItem.setProperty%28%22a_gpr_by_prodcat%22%2C%20setRegions%29%3B%0D%0A%20%20%20%20ecrItem.setProperty%28%22a_design_center%22%2C%20setRegions%29%3B%0D%0A%20%20%20%20if%20%28ecrItem.getProperty%28%22a_eco_status%22%29%20%3D%3D%20null%29%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20ecrItem.setProperty%28%22a_eco_status%22%2C%20%22Stage%201%20of%2011%20-%20ECR%20Created%22%29%3B%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20ecrItem%20%3D%20ecrItem.apply%28%29%3B]