Schedules

Schedules can trigger Business Rules.

Prerequisites

Business rules you want to trigger via a schedule.

Example: https://picturepark.atlassian.net/wiki/spaces/SOL/pages/406225118

Specific Definitions

Property

Value

Name (required)

Choose a name that will be obvious to both yourself and any other admins - e.g. Content Items license expiration warning, Every full hour, etc.

Description

Further, describe what this schedule is for your and others reference.

Enabled

You can choose to disable or enable the schedule. We suggest leaving it disabled until you have tested it thoroughly. You can test the schedule straight away by clicking on the trigger now button, which will carry out the linked Business Rule straight away.

Cron Expression (required)

This expression determines when the schedule will be carried out. An example of a valid cron expression would be 0 0 * * 1-7 which would trigger the business rule at 00:00 on every day of the week from Monday through Sunday. See https://crontab.guru/ to create your cron expression but keep in mind that only what is supported by Cronos is supported in Picturepark.

Document type (required)

Currently only the Content document type can be selected here.

Filter (required)

The filter is important for performance reasons. It allows you to narrow down the number of Content Items that will be loaded before a business rule is carried out. See the query filter cheat sheet for examples.

Business rules (required)

Select one or more business rules that should be triggered on this schedule.

Search string

A search string can further narrow down the Content Items that will have the selected business rule/s run on them. See the advanced search cheat sheet for examples.

  • The minimum accepted interval time is 15 minutes.

  • Schedules execute at an approximate time. If you set a schedule to 07.00 AM CET, it runs precisely. Still, the Content Items might be changed with an offset, depending on the defined search query, the number of Content Items that need to be processed, and the general load on the system.

  • If the processing of the items takes a long time and overlaps with the next interval, then Picturepark will skip the execution of that next interval. For instance, if you use 15-minute intervals and the processing takes 20 minutes, the subsequent execution will happen 30 minutes after the longer one. It would be best if you used filters to narrow down Content Items to prevent overload and long processing times.