what version of Pega are you using? In ‘25, Pega released Embedded Data tables support Views or Actions, which gives you more flexibility to do things in post/pre processing if the row was edited. You can even configure a separate action for edit, which would give you the ability to tailor the logic on edit (avoiding create)
We have a constellation 101 on the topic as well - Pre & Post Processing for Embedded Data