If the pageCount is too high, too low, or is not a number, the completion script adds an informative error message to the error dialog box and returns false . This value is invalid. This script updates a link to a newly submitted document in a file that lists all documents available for review. This script could be used as an automation script in a process that enables writers to submit documents for review. In the entry point form, the writer uses a File attachment data field called docFileName to attach the document.
Many different writers can use the application to submit documents.
The file docList.html contains an active link for every document that has been submitted with this application. The file docList.html lives in the top level of the content store so that all process instances in the application can access it. Two files are involved in the document list. The file docList.html is an HTML-formatted list of the documents with an active link for each document. This script uses two files so that it can add the closing HTML tags after adding the information for the newly submitted document.