onAfterSave firing too soon

Hi Ahmad,

This was exactly it! I was trying to figure out whether I needed to use an await function, but setTimeout was perfect.

Thank you.