Step 6 - Create Task to Import NLPG data

Now we need to create a Task to run the NLPG Importer. To do this you will need to add a Task entry. In the tree, right click on the Build from NLPG Job you have just created and select New Task.

Select the Task Type as Program and click OK.

Name

Enter a name for the task e.g. Run NLPG Importer.

Program

This needs to be path to the python installation. This will change depending upon where you have installed the python script e.g. C:\Python\python.exe

Additional Parameters

Here you need to enter the path to the NLPG Importer and the name of the configuration file e.g.

C:\Python\NLPG Importer\Importer.py <Configuration file>

Where <configuration file> is the name of your configuration file e.g. importer.config.

Run the Task to Import the Data

Now we need to run the task to import the data to test that it works correctly. Make sure that you have copied at least one NLPG file into the Pending [and Archive] folders before running this task.

Right click on the Task and select Run NLPG Importer [or whatever you called the task]. Depending upon the size and number of files this may take a little while.