Skip to content

Jobs

Jobs is where schema changes and bulk operations actually run. Nothing you publish in Case Tables touches the database directly: it becomes a plan, the plan contains one or more jobs, and the backend executes them.

Plans and jobs

Concept What it is
Job One unit of work: add a column, change a type, empty a table, run an import
Plan A group of jobs executed together, created by a publish, a bulk operation, a domain bulk publish, or an import

A single publish creates a plan with one job; a domain bulk publish creates one plan with as many jobs as tables you included. The plan is what you approve, schedule, cancel, or retry.

The four tabs

Tab Shows Order
Pending Plans waiting to execute or to be approved Severity first, then oldest
Processing Queued and executing plans Started first
Completed Plans that finished Most recent first
Failed Plans that ended in error Most recent first

The Pending tab is the default, and the tab you are on is kept in the address, so a link can point at a specific tab.

The Processing tab refreshes itself every five seconds while it is open; the other tabs refresh when you change tab or reload. Each row shows the operation summary, the table, severity (score, label, estimated time), status, and the relevant dates. Plans are numbered #N.

Work with a plan

Action What it does
View Opens the plan detail: timeline, operations, and the affected tables
Execute Runs a pending plan that needs no approval
Approve & Execute Approves a plan that requires approval, then queues it
Cancel Cancels a plan that has not started
Retry Re-queues a failed plan
Group & Execute Runs several pending plans as one
Resolve conflict Chooses Overwrite, Add, or Merge for an import with data conflicts

Approving a plan

When a plan needs approval, the dialog shows the reasons, the severity, and the estimated time, and offers:

  • Notes — recorded with the approval, so the next person knows why;
  • Schedule execution for — a date and time, used for changes that should run outside working hours.

A scheduled plan waits for its moment and then moves from Pending through Processing to Completed on its own.

Following a plan

The detail shows the timeline — created, queued, execution started, finished or failed — and one entry per job. Completed jobs link to the table they changed, and failed ones show the error that stopped them.

Why a plan is waiting

What you see What it means
Pending Waiting for someone to execute or approve it
Needs approval Severity is high enough to require a decision
Scheduled Approved, waiting for the scheduled time
Processing Running now
Failed Stopped by an error; retry after fixing the cause

Permissions

Permission Allows
LURANA_CASE_TABLES_JOBS View, execute, approve, retry, and resolve conflicts
LURANA_CASE_TABLES_JOBS_CANCEL Cancel pending plans

The full list is in Permission reference.