Update Request Item and Tasks
We had a request to close all open tasks and ultimately the item for a particular catalog item. We've written the script here to accomplish this. It was reviewed by our partner at Fruition.
https://git.yale.edu/df336/ServiceNow/blob/master/close_tasks.js