Add custom persisted Niagara provisioning jobs

NoteBefore running provisioning jobs, ensure that all NiagaraStations are properly configured for platform connections. See To configure the NiagaraStation Platform Connection extensions.

Using “job prototype” components copied from the provisioningNiagara palette into the Supervisor’s station, you can specify various sequences of provisioning steps against one or more stations in the NiagaraNetwork of the Supervisor, and save as normal “persisted” components (duplicate, re-edit, etc.). Each job prototype provides a default Niagara Network Prototype View for building that job.

As needed, link any job prototype component to a TriggerSchedule in the station for future execution.

NoteThis is the recommended method for regular, scheduled backups on networked JACEs.

Example Supervisor configured for “Job Prototype” backups of stations

This example procedure is for a Supervisor station with 36 JACE stations in its NiagaraNetwork.

  1. With the Supervisor station opened in Workbench, expand it to reveal its Config node.

  2. Right-click Config and select New->Folder.

    Name it “ProvBackups” (or whatever desired. You can also create this folder anywhere under Config.)

  3. Open the Palette side bar, and then in the side bar open the provisioningNiagara palette.

  4. From the provisioningNiagara palette, drag (copy) a NiagaraNetworkJobPrototype component to drop (paste) in the new ProvBackups folder.

  5. From the provisioningNiagara palette, drag (copy) a TriggerSchedule component to drop (paste) in the same ProvBackups folder.

  6. Double-click the ProvBackups folder for its wire sheet view.

    In the wire sheet, link the Trigger slot of the TriggerSchedule to the SubmitJob slot of the JobPrototype component.

  7. Double-click the NiagaraNetworkJobPrototype for its Niagara Network Prototype View.

    1. In the middle “Steps to run for each station” pane, click the Add button.

      Select Backup Stations, then OK.

    2. In the bottom “Stations to include in the job” pane, click the Add button.

      In the Add Devices popup dialog, select some of the stations (in this case 12 stations), then OK.

      NoteLater, after duplicating this component and reconfiguring, you will select different stations to backup.

    3. Click the Save button at the bottom of the view.

  8. For the same NiagaraNetworkJobPrototype, go to its (secondary) Prototype Job List view.

    1. Near the top of its Prototype Job List view, click the “Retention policy” control for a drop-down list, and choose either:

      • Dispose after a specified amount of time (default is 7 days)

      • Keep a limited number of executions (default is 10)

    2. Click the Save button at the bottom of the view.

  9. Double-click the linked TriggerSchedule to go to its Trigger Schedule view, and add a new event on the left side, for example: Type: Week and Day: Sat, Any Week, Any Month (for a weekly backup)

    and on the right side add an “off hours” time, for example: 12:30AM.

    Click to Save this schedule configuration.

    NoteLater, after duplicating this component and reconfiguring, you will select a slightly different off hours time.

  10. With the NiagaraNetworkJobPrototype linked to the TriggerSchedule, select both components, then right-click and select Duplicate. This puts another linked pair on the wire sheet.

    Move the copied linked pair to a new spot on the wire sheet, and repeat this duplicate again.

    NoteIn this example you now need to configure each of the 3 job prototypes to backup 12 different stations per provisioning job, and adjust each TriggerSchedule to a slightly different time of execution. For example, you may have one backup provisioning job scheduled at 12:30AM, another at 1:00AM, and another at 1:30AM.

For related details, see the job prototype, Scheduling a job prototype, and Job retention.