AutoClose v3 doesn't work?

AutoClose v3 doesn't work?

Hi All,

Could you help me to get the below working? 

The issue started with the report itself which I've changed to the following to show onhold tickets that haven't been updated by technicians in a week:
  1. select workorderstates.workorderid from workorderstates inner join statusdefinition on workorderstates.statusid=statusdefinition.statusid where statusdefinition.statusname='Onhold' and (workorderstates.last_tech_update <= <from_lastweek> OR workorderstates.last_tech_update <= <to_lastweek>)
In the script itself, I've only changed the closing description bit to the following:
  1. input_data = '''{
  2.                     "request": {
  3.                     "status": {
  4.                         "name": "Closed"
  5.                     },"resolution":{"content":"This ticket has been automatically closed as the ticket has been on hold and the requester has not responded within 7 days. If your request still needs further action please respond to this ticket."}
  6.                 }
  7.         }
  8.         '''
And when I set everything up and try and run the script from Custom Schedules, I get the following traceback:
I can see that for some reason the variable is wokorder rather than work-, but that shouldn't matter I think.
traceback
All files I'm using are attached, has anyone had any luck setting this up?

                  New to ADSelfService Plus?