Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Schedules are used to can trigger Business Rules.

Prerequisites

Existing Business rule that should be triggered via Schedule. An example Business Rule can be foundcontent Business rules you want to trigger via a schedule.

Example: Business Rule: Notification for contents expiring in 10 days here.

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.

Info
  • The minimum accepted interval time is 15 minutes.

  • Schedules are executed execute at an approximate time. If you set a schedule to 07.00 AM CET then it will be executed exactly at this time but , 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 will be skipped. For instance, if you are using use 15-minute intervals and the processing takes 20 minutes then , the next subsequent execution will happen 30 minutes after the longer one that took longer. Filters should therefore be used . It would be best if you used filters to narrow down Content Items for preventing to prevent overload and long processing times.