8.5

Common Errors
Though some error messages are specific to a task in particular, others may apply to any and all tasks
because they are related more to the system than to PReS itself. Some examples would be W3813, W3830,
W3991, W4005. These correspond to issues such as not having any space to write files, permission errors
on folders or files, etc.
Comments Tab
The Comments tab is common to all tasks. It contains a single text area (Task comments)that lets you
write comments about the task. These comments are saved when the dialog is closed with the OKbutton,
and are displayed in the Task Comments Pane.
Text Condition
Text conditions can be used to perform two different types of tests:
l
To test the presence of a string within the job file. You can, for example, search for the string Gold
member” on the first line of the job file. As another example, you could search for a variable string
retrieved via a job info variable or a data selection in a given location in the job file.
l
To compare two strings. As with the test above, this test can also be used to search for a string in a
given location. The difference with this test is that it gives you comparison options. Using the
“Contains” operator, you can test the presence of the string “Gold member” at a given location in the
job file (using a data selection), but the other operators can be used to test whether or not the first
string is equal to the second one, whether it is equal or lower than the second one, etc.
The logic of text conditions can sometimes be tricky, especially if it includes variable strings, so you should
test it thoroughly.
Properties
General tab
l
String: If you want to test the presence of a given string at a given location, enter the string in this box.
If you want to compare two strings or perform a numeric comparison, enter the first string in this box.
Note that you can enter either a static string, a variable or a data selection in this box. If you enter a
variable, PReS Workflow will retrieve the string from the variable before performing the comparison. If
you enter a data selection, PReS Workflow will search the job file and retrieve the string found at the