KBA-01286: Correcting Errors in Automatic Workflow scripts


How do I correct an error in an automatic workflow script?


When ATC encounters an error in an automatic workflow script, it sends an alert to the originator of the document on which the error was encountered.  These alerts are key to finding and correcting errors.  The document is ‘stuck‘ at the current routee with the workflow error until the error is corrected or the routing manually changed.

  1. If necessary, train users to forward workflow alerts to the user responsible for maintaining automated workflow.
  2. Expand the Alert and read the details.
  3. Use the link icon in the alert to open the document.
  4. Go to the document‘s routing grid. The Spitfire workflow should be at the current routing sequence.
  5. Select Edit Workflow from the route row‘s Options menu to edit the workflow script and make corrections.
  6. Save the changes to the script.
  7. Review the due date on the route.
  8. Save the changes to the document and close it.
  9. Delete the alert.
  10. The workflow engine will make another attempt at the next scheduled time.

This image illustrates steps 3 through 5:

Important: When you correct an error in a workflow script, keep in mind that most workflow is copied from template documents or predefined routing.  Be sure to make corresponding corrections in the original version of the script as appropriate.

Additional Comments:

Spitfire recommends using the new Workflow Script Library and the ATC: CALL command.  This helps  to simplify finding the workflow script and is particularly important if the script is used by many documents.

KBA-01286; Last updated: September 19, 2017 at 8:59 am;
Keywords:  routing, workflow