We wrote SQL against the TN database to look for failed docs and automatically restart the doc (not resend a new one).
Run the sql first - then loop over the results - and run the “TN.RESTART” service -mapping JobID to the taskid of the restart service.
Here’s the sql:
NOTE: You should probably parametize the date range so that you can run without having to always change the sql.
Hope this helps. If you need me to send the actual flow, let me know.
SELECT *
FROM BizDoc OUTTER INNER JOIN
DeliveryJob ON OUTTER.DocID = DeliveryJob.DocID
WHERE ((DeliveryJob.JobStatus = ‘FAILED’) AND
((DeliveryJob.TimeCreated > ‘11/12/2002’) and (DeliveryJob.TimeCreated < ‘11/15/2002’)))
#webMethods#B2B-Integration#Integration-Server-and-ESB