General
On the General tab, the basic settings and parameters of the current task can be managed. The categories for a document can be assigned, created, edited, and deleted. A category bundles documents in containers, to make categorization easier for the end-user. The categories are only visible to the end-user on the QlikView AccessPoint. Each document can only be part of one category.
Basics
Enabled
To enable the task, select this check box. To disable the task, clear this check box.
Task Name
To edit the name of the task, enter the preferred name in this text box.
Select Category
To assign a category to a supporting task, select one of the available categories, presented in the drop-down list.
Default value: Default.
Or Type a New Category
To create a category, enter a descriptive name in this text box. The new category will be available in the Select Category drop-down list.
Task Description
To edit the description of the task, enter the preferred description in this text box.
Parameters
Command Line Statement
The command line statement that will be executed. To edit the command line, enter the preferred statement in this text box.
Example:
The task starts the application notepad.exe and displays the content of the file odbc.ini: c:\windows\notepad.exe c:\windows\odbc.ini
Task Result Handling
Ignore Errors (Non-zero Return Codes)
Normally, any non-zero result code will be treated as if the task failed. To ignore the result code, making the task always being treated as successful, select this check box. To handle errors, clear this check box.
File Exists
Run task to check if file exists
By enabling File Exists, the task verifies that the selected file is available at the desired location. When a File Exists task is set to trigger a document task, the document task only runs if the File Exists task successfully locates the file. This setting prevents the failures of document tasks when the files required to complete the task are not available. A File Exists task completes successfully even when the file is not located. A File Exists task fails when the file path entered is empty, or if a network failure prevents the task from being completed.
You can enable File Exists by selecting the Run task to check if file exists check box. Then, insert the path to a file in the Path: field.
Path
Enter the file path in the text box. The file path must include the file extension.
You can set a File Exist task to locate any file. This means that the target of the File Exists task can be an alternative file not connected to a document task. The document task only runs when the File Exists task locates the alternative file. If you set the File Exists task to locate an alternative file, make sure that the file read by the document task is available when the document task runs.
You can use asterisks in the file path. When the path contains asterisks, the following rules apply:
- The file extension must always be included. For example:
- If more than one file satisfies the path conditions, the task is completed as soon as the first file matching the file path is located.
- An asterisk can be added before or after the file name. Two asterisks can be used simultaneously, one at each end.
- An Asterisk cannot be inserted within a file name. The following path is invalid:
C:\ProgramData\QlikTech\SourceDocuments\Data*.qvw
C:\ProgramData\QlikTech\SourceDocuments\*Data.qvw
C:\ProgramData\QlikTech\SourceDocuments\Data*.qvw
C:\ProgramData\QlikTech\SourceDocuments\*Data*.qvw
C:\ProgramData\QlikTech\SourceDocuments\Data*3.qvw