- Navigate to Definitions/Processing Sequences and select the Processing Sequence you created in tutorial
LIC0002– iiiTUTSEQ01. - Press the Copy button to create a new processing sequence based on this one:
- Give the new processing sequence an ID of iiiTUTSEQ02 and click the Copy button.When the details for your copied iiiTUTSEQ02 are shown, give the new processing sequence an appropriate description as shown:
- Save the change to your new processing sequence.
- Click the Edit button to open the Processing sequence editor window. Delete the activity
TUT_02_ATfrom the previous exercise, so that your sequence contains a single ActivityDIRECTORY_LIST. The Activity will output a list of files in a list namedFILELIST. - Select the Parameters tab and delete the
YOURINITIALSinput parameter. - From the Palette tab select the Loop construct and add it to the sequence at the end. Your sequence will now contain the Activity and then Loop. Note that the Error tab (bottom left) shows errors (red triangle) and warnings (yellow triangle). This is because the details for the Loop have yet to be entered.
If your Loop is in the wrong place use the move up and move down buttons on the toolbar to reposition it. - Select the Loop. The details of the loop will be shown (bottom right).
- In the List name enter
FILELIST. - In the Loop variable enter
THISFILE. This means that the loop will cycle through the list of entries in the FILELIST and the value of the entry which is currently being processed will be set in the variable named THISFILE. The variableTHISFILEmay be used as an input to subsequent processing steps within this loop. - In the Index variable enter
FILECNT. The variableFILECNTwill contain the number of the entry which is currently being processed.
Note that the previously displayed errors (red triangle) have gone, though a warning (yellow triangle) may remain about the loop item being empty - you will deal with this next.
- In the List name enter




