Publicado Thu, 17 Feb 2022 16:58:34 GMT por Andrew Koontz Senior Solutions Engineer
A client of ours is using a couple invoice processing workflows that work off of each other. Using a cloud system, when a workflow errors, it goes to the admin account automatically. The only options for the admin are to retry task, continue with activity, or stop workflow. Retry activity just pushes the document through the same workflow, pushing it to error our for the same reason as before. I'm wondering if there is a way for the errors to go to a specific user (the admin account works), but with the ability to send the document back to the beginning of the process. Ideally, when a document errors, the admin could hit, "resubmit invoice", which would change the status to 'submitted' , which would trigger the first workflow again. But that currently isn't an option. So does anybody have an ideas on how this could be accomplished?
Publicado Thu, 17 Feb 2022 18:27:08 GMT por Jon Weston File IT Solutions Sr Application Developer and RIM specialist
Hi Andrew,<br> <br> I've found that it depends upon what error is occurring.&nbsp; If it's an 'Assign Data' then you can use the error output to route the invoice however you like (including creating your own task that gives the user the ability to send the document back to the beginning), just keep in mind that DW will retry the Assign Data five times before using the error output.&nbsp; I've recently found that if an 'Assign to' errors it doesn't use the error output at all (I posted in the forums yesterday about that) so you won't be able to trap those errors.
Publicado Thu, 17 Feb 2022 20:44:21 GMT por Andrew Koontz Senior Solutions Engineer
I just read something similar to this in a different post. It may have been you replying to that one too. We have quite a few 'Assign Data' activities throughout the workflows but this does make sense and has worked exactly how I need it. Thanks!

You must be signed in to post in this forum.