Go to search –> Saved searches –> New –> Scheduled Script Instance
Under the criteria tab, add the script deployments internal id which is a join field:

Under the Result tab, select the Maximum of “Status”:

Then save the saved search.
Go to search –> Saved searches –> New –> Scheduled Script Instance
Under the criteria tab, add the script deployments internal id which is a join field:

Under the Result tab, select the Maximum of “Status”:

Then save the saved search.