Snippet to create child records (Tasks) and update parent record

Thank you both - this is working well now. 

Except…

I am getting some weird, jumpy behavior in the UI…it almost seems like this action is running on “row in model updated”, not on “row saved.”  (I’ll add new records to my table and they’ll save before I hit the save button.)  This seems to be working better when I remove the snippet.  I’m going to go through all of my model actions to see if I can find any other likely culprits, but if you have any thoughts or have seen this before…I’d be interested!