Automation Activity

93 Aufrufe Markdown

The Activity tab shows what the automation worker has actually been doing: how much work it got through, and every job one by one.

Opening the Screen

Panel menu: Settings then Automation, and the Activity tab: {admin}/automation?tab=activity

The status bar and the warning line above the tabs stay visible here as well. They are covered in Automation Overview.

Staff without the automation right see an access message instead of the screen.

What Is on the Screen

Two panels, one above the other.

Job Volume A bar per period, showing how many jobs finished, failed or were cancelled.
Recent Jobs The newest jobs first, with older ones loading as you scroll.

Job Volume

Three selectors sit in the panel header, and they combine. The first picks a single task or All Tasks. The second picks a stage: All Stages, Run Only or Scan Only. The third picks the window: Last 24 Hours, Last 7 Days or Last 30 Days.

A stage is a half of a task. Scan looks for work to do, and Run carries it out. Tasks with nothing to find still scan, and the All Stages view leaves those empty rounds out. Pick Scan Only to see the scan volume.

The legend names the three colours: Completed, Failed and Cancelled.

Recent Jobs

The number beside the title is how many jobs the queue holds in total. The list starts with the fifty newest.

A row carries the job number, its title, a status mark, and a time. Finished jobs show when they finished. A waiting job shows a countdown to its planned moment instead, or Soon.

Scrolling to the bottom pulls in older jobs. When there are no more, the list ends with All jobs loaded. On a fresh installation the panel reads No jobs yet.

The job window

Clicking any row opens that job on its own, with four tabs.

Results What the job produced, in a summary written for that job type. Empty here is explained rather than blank.
Info Type, status, priority, attempts against the allowed maximum, Idempotency Key, parent job, worker, and the start and finish moments. That key is what stops the same job being queued twice.
Payload The input the job was queued with. Many jobs carry none.
Attempts The job's own log, one entry per step, with its level and moment. Error messages live here.

At the bottom of the window sit Retry and Delete. Retry is offered only for a failed or cancelled job.

Fields

Task selector Lists every scheduled task. Starts on All Tasks.
Stage selector Starts on All Stages.
Time window Starts on Last 24 Hours.

Tasks

Read why a job failed

  1. Find the row with the Failed mark and click it.
  2. Open the Attempts tab. The last entry holds the error message.
  3. Check Info for the attempt count: a job that used up its allowed attempts will not be tried again on its own.

Retry a failed job

  1. Open the job and click Retry at the bottom of the window.
  2. The job goes back to waiting and its attempt count starts over.
  3. It is picked up on one of the next rounds and runs again with the same input.

Delete a job

  1. Open the job and click Delete.
  2. The button changes to Click again to confirm. Click it a second time within five seconds.
  3. The job leaves the list and the window closes. The record is gone for good.

Compare a task against the rest

  1. Pick the task in the first selector and set the window to Last 7 Days.
  2. Set the stage to Run Only to narrow the chart to a single stage.
  3. A red block in the bars marks the days that failed. Use Recent Jobs to open a job from that day.

Things to Watch

Deleting a job cannot be undone

There is no confirmation window, only the second click on the same button. The job record is removed, along with its log and its result. Whatever the job already did stays done.

A retry runs the work again

The job repeats with the input it was queued with. If it had already got halfway, for example an invoice created before it stopped, the second run can repeat that step. Read the Attempts log before you retry.

This list covers scheduled jobs only

Work sent to server modules and messages waiting to go out have their own screens. See the related articles below.

Required Privileges

The screen and every action on it, including retry and delete, need AUTOMATION_SETTINGS.

War das hilfreich?

Vielen Dank für Ihre Rückmeldung!

Brauchen Sie weitere Hilfe?

Unser Support-Team ist rund um die Uhr für Sie da, wenn Sie oben nicht fündig werden.