Scenario: A medical clinic serves patients of all ages and backgrounds. Many patients are not comfortable using computer equipment and are not proficient at typing. To accommodate everyone, the clinic continues to use paper forms for patients to fill out personal information. The clinic uses a third-party transcription service to convert the forms into a digital format. When a patient turns in a paper form, a worker at the clinic scans the form into a network folder. A workflow process recognizes the new file, creates a task, and sends a notice email to the third-party service. The third party accesses the scanned image in a webform, and transcribes the information into a digital form.
Process: This process is created in an auto start Workflow-type project.
The following screen shot shows the process:
The following screen shot shows the editor for the New File Auto Start component:
The component is set to move new files into a specified directory. This directory is the destination directory for the file.
The following screen shot shows the New File Auto Start editor Input tab:
The Source Directory is the directory that the New File Auto Start component watches for new files.
The following screen shot shows the New File Auto Start editor Output tab:
The component creates a process variable, FileData. This variable contains the new file (in this case a scanned image) that started the process.
After the process has been started by the New File Auto Start component, a Dialog Workflow component is invoked. This component creates a task and sends it to the third-party service through email. The Dialog Workflow component uses its Start Process to send the email.
The following screen shot shows the Dialog Workflow start process:
The Send Email component sends an email that includes a link to view the scanned image. The link is called ResponsePageLink. For more information on setting up an email to include this link, see the following link:
When a user clicks the ResponsePageLink, a webform containing the scanned image appears. This webform is created in the Dialog Model of the Dialog Workflow component.
The following screen shot shows the Dialog Model:
The following screen shot shows the form of the Form Builder component:
On the left side, an ImageComponent displays the scanned personal information form. The right side has boxes for entering data. Once entered, this data can be stored in a database for use.
The ImageComponent retrieves the image to display from process data.
The following screen shot shows the ImageComponent editor:
If the transcription process fails, a logging component records the failure so corrective measures can be taken. This logging component creates a log entry that appears in the configuration and logging tool. Access the tool at Start > Programs > Altiris > Workflow Designer > Tools > Workflow Explorer.