In this example, you assign .doc files to one of three categories (Fax, Change Order, Memo) depending on the value of the file's Doc Type
card variable.
Prior to creating the categories, you must create a card variable called Doc Type
for .doc files. See Edit Variables Dialog Box.
- Right-click Categories and select New category.
- From the Category dialog box, type Fax for Name.
- For Description, type: One of three categories for .doc files: Fax, Change Order, and Memo
-
Create a condition (see Creating Conditions for Workflows):
-
Under Conditions, click
New
.
- Under Type, click Click here to change, then click again and select Filepath.
- Under Argument, click to display the text box, then type %.doc.
-
Create another condition:
-
Click New
.
- Under Type, click Click here to change, then click again and select Variable.
-
Under Variable Name, click to display the choice box, then click again and select Doc Type.
If Doc Type is not listed, you must create a Doc Type
card variable for .doc files.
- Under Argument, click to display the text box and type Fax.
- Click OK.
- Repeat this procedure to create Change Order and Memo categories, specifying the variable values under Argument as Change Order and
Memo
, respectively.
-
To test the categories:
-
On the data cards for three .doc files, set the
Doc Type
variable to one each of Fax, Change Order, and Memo.
- Check in the files and confirm they are assigned the correct category.