Create Job to Refresh the CMIS data

In order that the CMIS data is kept up-to-date you need to create a Workflow Job to run the Tasks required to download and build the data.

To do this you will need to add a Job entry. Right click on the Jobs entry in the tree and select New Job.

Job Name

Enter a unique name for your job e.g. CMIS Councillors.

Next you need to Create the Tasks to Download & Build the CMIS data.

Once you have created your Tasks you will need make sure that they are run in the following order; you can use the up  and down  arrows to change the order:

  1. Fetch CMIS Councillors
  2. CMIS - Import councillors.csv - [Depends on previous job]
  3. CMIS - Create councillors_html - [Depends on previous job]
  4. CMIS - Create councillor_ward - [Depends on previous job]

For those tasks flagged as [Depends on previous job] you will need to select the Dependant button. This means that the task is dependant upon the previous one completing successfully.

Next you need to schedule when to run the update. Simply select the Job in the tree and add a schedule.

For more information on how to schedule a job please refer to the Job Scheduler topic.