This update release fixes one poor UI choice, adds one small but useful script feature, and updates the Script workflow
MTurk HIT defaults
The default 'auto approve time' for MTurk HITs was set to 1 hour. That was never a good idea and was simply a mistake. It is now set to one day. Note that getting this time long enough is especially important for the T2 workflows. The auto approve time on the first HIT in a T2 flow should be longer than the HIT lifetime of the second HIT. Otherwise, you could have the first HIT auto-approve before the review HITs are completed.
DOM and Content in Scripts
Previously, you could not call both doc.dom and doc.content in the same script. This is now fixed. The primary application of this is to use DOM functions to query a document and then conditionally output the content of the document or output a "cupacabra flag" to use in a downstream filter to discard the document.
Updated Script Workflow
In the first version of the Script workflow, scripts were edited when creating the workflow rule and there was no way to share script text among different rules. In this update, there is no longer a script editor on the Script Workflow dialog. Instead, there is a control to select a file from the Template/Script folders.
In a later release we may add back the ability to "define scripts on the fly," but in this release you must define (and test them too, please) your scripts in the Templates folders and then select the one you want when creating the Script workflow rule.
NOTE: Existing Script workflows are not changed. They will continue to operate as is. New Script workflows will get this updated workflow. To convert from old flow to new flow, open the old rule, copy and paste the script into a file in Template/Script, and then go back delete and recreate the rule.