How to retry failed autoprint

If the Auto print action fails, how can I retry? Its successfully submitting to the task agent, so its not the bpm that is failing. Its the print task itself that is failing intermittently. I understand it is no longer possible to hook a data directive to systask (in cloud anyway). Any other ideas on how to get some kind of retry action in place?

Right now I am monitoring the failures with automation studio, which then emails me to tell me that it failed. But that is on a schedule and then I have to manually deal with it. The failures are server errors nothing wrong with the data or the report.

Example errors:

Program Ice.Services.Lib.RunTask when executing task 5700971 raised an unexpected exception with the following message: RunTask:
Ice.Core.SsrsReporting.SsrsCaller.SsrsException: The SSRS server returned the status code 503 (ServiceUnavailable) with the following error text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Service Unavailable</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Service Unavailable</h2>
<hr><p>HTTP Error 503. The service is unavailable.</p>
</BODY></HTML>

Program Ice.Services.Lib.RunTask when executing task 5698082 raised an unexpected exception with the following message: RunTask:
System.Net.Http.HttpRequestException: An error occurred while sending the request.
 ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
 ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)
   --- End of inner exception stack trace ---
1 Like

Our autoprint is triggered from something in the background like a checkbox. This way if we need to, you can recheck the box to kick it off again.

In the past month, we had 2 order acknowledgements that slipped through the crack due to similar messages. Is this something you have been dealing with for awhile? Always concerned with other’s cloud performance here.

I’m not sure if its a recurring issue, so far it hasn’t failed again since the task agent was restarted.

Well I jinxed myself. Another random failure and again printed fine on retry. Just wish I could automate the retry part.

Ice.Core.SsrsReporting.SsrsCaller.SsrsException: The SSRS server returned the status code 500 (InternalServerError) with the following error text:
An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object.