I have a script that ends in the following:
var d = Draft.create();
d.content = project;
d.update()
// Load Things Parser Action and Run
var parser = Action.find("Things Parser");
app.queueAction(parser, d);
project is a variable set up earlier in the script. On iOS, this works fine, Things Parser runs, and a template is created. On Mac, it fails. I can open the newly created draft and run Things Parser independently, and it works fine. Something is going wrong in the app.queAction step only on Mac.
Any suggestions on what I’m doing wrong here?