Workflow and ServiceDesk Community

 View Only

New File Auto Start 

Jun 13, 2012 09:48 AM

New File Auto Start

Component definition

This component watches a folder, and kicks off the workflow process when it detects that a file has been added. The New File Auto Start component works only in an auto start Workflow Project type, and takes the place of the Start component. This component is similar to the Folder Watch Start component. Except the New File Auto Start component can perform actions (move, delete, rename) on the new file internally before starting the workflow process.

Component icon

Description of component output paths

Unknown

The component output paths are described in the following table:

Property

Description

Unknown

Unknown

Unknown

Unknown

Description of component tabs and their properties

The properties on the File Watcher tab in the New File Auto Start component are listed and described in the following table:

Property

Description

Action

Lets you select the action to perform on the file.

Move To Directory

Lets you specify the directory to which to move the file.

Add To File Name

Lets you enter the new name for the file.

The properties on the Input tab in the New File Auto Start component are listed and described in the following table:

Property

Description

Source Directory

Lets you set up the source directory for this component to monitor.

The properties on the Monitoring tab in the New File Auto Start component are listed and described in the following table:

Property

Description

Use Filter

Lets you filter the file type to monitor in the directory.

Filter

Lets you specify the file type to monitor in the directory.

The properties on the Output tab in the New File Auto Start component are listed and described in the following table:

Property

Description

File Variable Name

Lets you specify the name of the File output variable.

This variable gets populated with the contents of the file.

The properties on the Settings tab in the New File Auto Start component are listed and described in the following table:

Property

Description

Component Class Name

The class name of this component. This property is not editable, but useful if you call Symantec support.

Description

The description of this component. This property lets you describe how the component is used. You can use it to provide any wanted documentation for this component.

This description is included in the model reports that are created when you click Plugins > Generate Business Model.

Location

The physical location of the top left point of this component on the workflow model.

Name

The name of this component. You can change the name.

If you changed the component name when you double-clicked it on the workflow model, the changed name appears here.

Override Background Color

This property lets you change the background color of this component.

To Do

This property lets you record what you still need to do with the component. Use this property to help you remember the configuration that you want to apply to this component.

The text that you enter for this property appears at the bottom of the component editor. If you enter text for this property, a checklist symbol appears on the component in the workflow model.

Is Enabled

This property lets you enable or disable the component. By default, components are enabled. When a component is disabled, it has no effect on the Project. Uncheck Is Enabled to disable the component.

  • Execution Outcome

    If a component with more than one outcome path is disabled, you must select which outcome path you want the component to take. Click the Execution Outcome drop-down list and select the outcome path for the workflow to follow.

  • Disabled Mapping

    If the component has output parameters, you must configure all output parameters with fixed data to pass on. This configuration can be performed in the Disabled Mapping option.

Connection information

Not applicable

Component settings

Unknown

Use cases

Some examples for the New File Auto Start component are as follows:

  • New application notice

    Whenever a paper employment application is submitted to a company, the application is scanned into a network folder. New Hire personnel are then notified of and given access to the new application.

  • Transcription task

    A medical clinic asks patients to supply personal information on a paper form. The form is scanned and tasked to a remote transcription service. This service converts the information in a digital format by transcribing it in a Web form.

New application notice

Scenario: A nation-wide company offers a printable version of its online employment application. Often, people print this application, fill it out, and turn it in or mail it to the nearest branch location. Instead of mailing or faxing the application to the national Talent Acquisition office, the employee who receives the application scans it into a network folder. A workflow process automatically moves the file into a Talent Acquisition network folder, and notifies the responsible party through email.

Process: This process is created as an auto start Workflow Project type.

The following screen shot shows the process:

Because the New File Auto Start component moves the file, the process is relatively straight forward. When a new file (in this case a scanned application) is dumped into the folder that this component watches, the process begins.

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.

First, the application file is moved from the main application-drop directory onto the Talent Acquisition directory. Then, a Send Email component sends a notification email to the responsible party.

The following screen shot shows the Send Email editor:

In the email body (HTML content), the destination directory is added to provide an instant link to the new application.

Manual step for including this link in the body of your email.

Copy the path from the New File Auto Start component editor and paste it into the HTML content field of the Send Email component editor.

Other components in this example are as follows:

  • Send Email

Transcription task

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 Web form, and transcribes the information into a digital form.

Process: This process is created in an auto start Workflow Project type.

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 New File Auto Start component starts the process, 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:

The following screen shot shows the email editor:

When a user clicks the ResponsePageLink, a Web form containing the scanned image appears. This Web form 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 the data is entered, it can be stored in a database.

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 > All Programs > Symantec > Workflow > Workflow Designer > Tools > Workflow Explorer.

Other components in this example are as follows:

  • Dialog Workflow

  • Create Log Entry

  • Send Email

  • Form Builder

  • Image Component

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.