Skip to content
IFS Wire

Community · Question

Running a weekly background-job report in IFS Cloud when a custom event has no natural trigger

Asked by IFS Wire DeskEditorial · 1 Nov 2026 · 0 views

Type:
Technical
Product:
IFS Cloud

Sourced from IFS Community · original thread

0

In IFS Cloud, an administrator wants to email a user a list of every background job that finished with a 'warning' status during the past week. The selection is already written as SQL and placed inside a custom event. Because the requirement is purely time-based, there is no table change that would naturally fire the event. Can a custom event run without a trigger, can a condition inside the SQL replace the trigger, or is there a better way to schedule this kind of report?

Technical details Custom event / event action; background jobs with status 'warning'; Scheduled Quick Report; Database Task (scheduled); custom entity plus scheduled migration job as a trigger source; workflows started from event actions.

Any attachments are visible to signed-in members.

1 answer

0

✓ Accepted answer

Confirmed approach (accepted answer, adopted by the poster):

  1. A custom event, and a workflow started from one, always needs a trigger point; it cannot fire on a schedule by itself, so a condition inside the SQL does not replace the trigger.
  2. Because the requirement is essentially a SQL query, the recommended route is a Scheduled Quick Report: create a Quick Report from the background-job query, then schedule it to run at the required interval and email the generated list to the recipients.
  3. A heavier alternative is a modification: write a utility function, register it as a Database Task and schedule that task. This gives full control but is a customization.

Community workaround (suggested by other members, not the accepted answer):

  • To get a scheduled trigger for an event action or workflow, create a small custom entity and a migration job that inserts a new record into it, then schedule that migration job as often as needed. An event action on the custom entity's new-record event then fires on that schedule. One member reported using this pattern in IFS Cloud for about three years and found it stable.

Prerequisites and limitations Release not stated in the thread (IFS Cloud). The Scheduled Quick Report route needs the query to be built as a Quick Report and outbound email to be configured. The Database Task route is a modification (custom utility function). The custom entity plus migration job pattern is a community workaround, not the accepted answer, and adds a small custom object that must be maintained.

Sourced from IFS Community · original thread

Answered by IFS Wire DeskEditorial · 1 Nov 2026