If we could return to a previous step when a step gets suspended, we can remediate the issue and send it back down the path a second (or third, etc.) time.
I just had to cancel 2 instances because of an uploaded document with the file extension ".docx.pdf" which in turn threw off the save to repository step. If I could have returned to the previous step, I could have had the user replace the uploaded file and resubmit.
See below error code.
Thanks!
Update here: The issue was actually NOT the filename, but rather that the file had been signed by DocuSign which is/was a known bug when trying to generate pages.
An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] Details: URL: Error: ErrorExecuteSTR Date: 3/2/2021 9:07:15 AM (Pacific Standard Time) HTTP Status Code: 500 Business Process ID: 52 Instance ID: 38011 Business Process Name: ESD 112 Contract Submission Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus) at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext) Inner exception: System.NullReferenceException Message: Object reference not set to an instance of an object. at Laserfiche.PdfServices.PdfExtractor.LoadFile(Stream pdfStream) at Laserfiche.PdfServices.PdfExtractor.ImportPDFPagesFromStream(Stream pdfStream, DocumentInfo doc) at Laserfiche.PdfServices.PdfExtractor.ImportPDFStream(Stream pdfStream, DocumentInfo doc, DateTime dtLastModified) at Laserfiche.Forms.CommonUtils.LFHelper.TryImportAttachment(Session sess, cf_bp_attachment_data attachment, FolderInfo parentFolder, String volume, String attachmentName, String ext) at FormsModel.RoutingModels.Services.SaveFormToLaserficheStrategy.SaveAttachmentToLaserfiche(Session session, XmlDocument datasetXml, STLConfigurationObj conf, DocumentInfo rootddoc, String timeZone, String rootFolderPath) at FormsModel.RoutingModels.Services.SaveFormToLaserficheStrategy.SaveToLaserfiche(Session session, XmlDocument datasetXml, List`1 STLConfigList, SaveToLaserficheParameters saveToLaserficheParameters) at FormsModel.RoutingModels.Services.SaveToLaserficheHelper.OpenSessionAndSave(IEntityContext _AppContext, Int32 STLRepositoryId, List`1 STLConfigList, XmlDocument datasetXml, ISaveToLaserficheStrategy saveToLaserficheStrategy, String timeZone) at FormsModel.RoutingModels.Services.SaveToLaserficheHelper.SaveToLaserfiche(IEntityContext _AppContext, Int32 STLRepositoryId, List`1 STLConfigList, XmlDocument datasetXml, ISaveToLaserficheStrategy saveToLaserficheStrategy, String timeZone) at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)