Automate Settings
Automate uses a series of if/then conditions (cases) to test and direct a page, document or job to the next action, to output or to continue the case. When you create a new Automate parameter set from scratch, the list of cases on the left is empty and you will click the Add button to add one or more cases to the list. Then you can specify the conditions for each case in the two panels on the right.
Test and direct
Here you choose whether you want the condition to apply to a page, a document or the job. This parameter is set for all the cases in the list and must also be supported by the position of this TP in the Plan.
Cases
The cases panel on the left lists the series of conditions that are executed consecutively according to the list. You can add, duplicate, delete and change the order of cases in the list. Select the Submit notification with test results if you want to track the cases and be notified if a case fails.
If
In the If panel on the right you can set one or more criteria for the case. First specify how strict the condition for the case is:
•When all criteria are met
•When some criteria are met
•When no criteria are met
Then add your criteria to the list by clicking the Add button. You can duplicate, delete and change the order of criteria in the list.
Variable
Click in the cell to see a list of all the available variables and choose a variable. Start typing in the cell to search for a particular variable. The variables you see here come from various sources that you can set up.
Test
Click in this cell to see the Test criteria (e.g. equals, does not equal) and choose one. The criteria depend on the selected variable. A test can also be a regular expression.
Value
Click in this cell to see the Value to be met by the criteria (e.g. Error, OK, Warning) and choose one. The criteria depend on the selected test.
Then
In the Then panel on the right you specify the action to be followed if the criteria are met:
•Send to output: sends the result being tested to the output specified in the drop-down list; the output is a flow in your Production Plan
•Fail: stops the testing and generates an error
•Continue with case: continues testing with the case specified in the drop-down list
•Continue with the next: continues testing with the next case in the list
The respective icons appear in the Cases list.