Multiple automations in a single script might not work normally
currently, so maybe you can try to split it into two scripts (I know
it's not elegant to do so ...).You can check this link for more details.
Feels like I can't find any obvious problem in your script. I only
notice that you don't have the dash "-" in front of the keyword "type",
but I'm not sure whether it's just a copy/paste problem.Btw, you can use
the "Insert/Edit code sample" to forma...
Yep, it works (at least when I test it last week).Maybe you can provide
your script then I can help you check it.It's also possible that I miss
something.