Sync and jobs in Liberty
The Sync folder of the NomaUBL application in Liberty gathers what NomaUBL does on its own schedule and what an administrator starts by hand: the scheduled jobs, the platform import, the status retrieval, the two status checks and the documents waiting to be processed. NomaUBL keeps the logic — what a job does, how an invoice is imported, how a status is checked — and its own pages document it; this page describes what Liberty adds or does differently.
Access: Sync → Scheduled jobs, Platform import, Status retrieval, Status integrity, Lifecycle order, Documents to process.
At a glance
Scheduled jobs
Sync → Scheduled jobs lists NomaUBL's scheduler, one line per job, read again every ten seconds (Live (every 10 s), ticked on arrival). It is the same list as NomaUBL's Scheduled jobs page, drawn as a Liberty screen:
- the jobs are grouped by kind — Poll, Batch, Digest, Retry, Check, System — and sorted by name, each line showing its name above its id;
- the same rows are offered as a List, a Table (sorted, filtered, exported like any grid) or a Chart;
- when NomaUBL's scheduler does not run, the screen says so above the list: no job starts.
| Column | What it shows |
|---|---|
| Job | NomaUBL's own jobs by their name (Platform import, Status retrieval, E-reporting, Received invoices, Retention, Usage report), the others by the name given in NomaUBL |
| Last error | The error of the last run, empty when it ended well |
| State | On, Paused, Running or Off, in colour |
| When | every 5 min, daily at 02:00, or once a day for retention and the usage report |
| Next run | Date and time of the next start |
| Last run, Duration (s), Source | In the Table view and in the job's form |
Row buttons
Each line starts with its buttons:
| Button | Effect |
|---|---|
| Run now | Asks Run … now, outside its schedule?, then has NomaUBL start the job. Hidden while the job runs. |
| Pause until NomaUBL restarts | Holds the job; its settings are unchanged. Offered on an active job. |
| Resume | Lifts the pause. |
| Change its settings | Opens the job's editor (below). |
Runs and their lines
A click on a line opens the job's form: the Job tab (kind, when, state, last and next run, duration, last error) and the Runs tab — the last fifty runs, each with its time, its event (Start, End, Error) its duration and its message. A run opens on the Lines it wrote on this server (level, module, message, filtered and exported), with its outcome on the Run tab — the same lines as NomaUBL's run window.
A job's editor
Change its settings opens the job in an editor that reads like a sentence:
- on the left, what the job does — description, statuses, report, run options, depending on its kind;
- on the right, Active, When (one time field,
03:00, or an interval in minutes) and How fast (pause between two, how many at the same time); - under them, one sentence saying it, e.g. Every day at 03:00, the invoices in 9904 (any date) are sent again, 4 at a time.
| Kind | What the editor holds |
|---|---|
| NomaUBL's own jobs (polls, retention, usage report) | Intervals, quiet window, retention days — Count what would be deleted counts what the purge would remove with the days as saved; the usage report says what it sends and Show the data sent |
| Batch | Label, every / daily at, Source (BI Publisher (JD Edwards), The template's folder, The watched folders), document template, mode and options; Run on every server when several servers share one database |
| Digest | Report (integration errors, every archived invoice, a saved analysis or dashboard of the Explorer, the billing overview, the statistics), period, recipients, severities, column filters, subject and text; Try (nothing sent) and Send now use the digest as saved |
| Automatic resend | Statuses resent — technical errors only, never 9905 —, days looked back, pause between two, how many at the same time |
| Lifecycle check | Integrity with the platform, order of the lifecycle, Record / clean what is found, Send the notifications |
Save and apply writes the job where NomaUBL's own page writes it and reloads NomaUBL's schedules; Delete removes a batch, a digest, a resend or a check. Each kind's fields mean what NomaUBL's pages say: batch jobs, daily digests, auto-retries, lifecycle checks.
New job asks the kind — Batch, Digest, Automatic resend, Lifecycle check — and a name, then opens the editor on NomaUBL's defaults. A job left off can be saved unfinished (a digest without recipients, a batch without trigger nor template) and completed later.
Jobs run by Nomaflow
The NomaUBL application ships Nomaflow jobs that drive NomaUBL from Liberty. They are run by hand, scheduled and read like any job: see Run a job from an application's menu, Schedules and Run history. Each runs on the NomaUBL environment picked for the job (see Setup).
| Job | What it does |
|---|---|
Platform import (nomaubl-platform-import) | Starts NomaUBL's import — what became of the invoices sent and waiting (9906) — and follows it until it ends |
Status retrieval (nomaubl-status-retrieval) | Starts NomaUBL's status retrieval — the platform's events since the last retrieval — and follows it until it ends |
Run one of NomaUBL's jobs (nomaubl-run-job) | Has NomaUBL run one of its own scheduled jobs now and waits until it has finished |
Copy JD Edwards' tables for the Explorer (nomaubl-jde-copy, nomaubl-jde-copy-full) | Feeds the Data Explorer when NomaUBL's database cannot reach JD Edwards' — see Dashboards |
The menu entries Sync → Platform import and Sync → Status retrieval open the job's page: Run, its schedules and its last runs.
What a run keeps
The run is started in NomaUBL and followed until NomaUBL ends it; a run NomaUBL is already doing is waited for, never started twice. The run's history keeps what it came to: the number of log lines, errors and warnings, and NomaUBL's last messages (its errors when there are some). The run fails when NomaUBL ends it with errors, so the job's alert goes out. When NomaUBL is still working after the step's wait (60 minutes for the import and the retrieval, 120 for one of NomaUBL's jobs), the step stops waiting and fails; NomaUBL goes on.
Run one of NomaUBL's jobs
Its parameter NomaUBL's job is a list read from NomaUBL — each job by its kind, then its name: polls, batches, digests, resends, checks, retention. The run follows the run NomaUBL names and keeps its one-line summary (Processed 3/3 document(s)) beside the log counts; it fails with the run's own error. NomaUBL takes the run outside its schedule: its pause and its quiet window do not apply.
To plan NomaUBL's jobs from Liberty, add one schedule per NomaUBL job, each naming its job. What a job does stays defined in NomaUBL (Change its settings above).
A NomaUBL job planned from Nomaflow should have no trigger of its own in NomaUBL (no interval, no daily time, or Active off): otherwise it runs twice.
Status integrity
Sync → Status integrity compares the platform's status events with NomaUBL's over a period, as the integrity check of NomaUBL does, then records the missing ones.
- Check… asks From (a week back by default), To (today) and a Company (blank: every company), waits for NomaUBL and says its figures in a notice.
- The events are listed: invoice number, DOC, DCT, company, platform code, status, date and State in colour.
- Tick the missing events, then Record (Record the missing events) with or without Send the notifications, after a confirmation.
Recording needs no period: the days the ticked events carry are covered. Each event is recorded through its own company — a company with its own status connector is read through it; events of several companies are recorded one company after the other. A line opens its invoice.
| State | Meaning |
|---|---|
| Missing | At the platform, not in NomaUBL: can be recorded |
| Recorded | Recorded by the last run |
| Superseded | A later event already covers it |
| Invoice not found | No invoice in NomaUBL for the event |
| Unknown code | The platform's code is not in the status catalogue |
Lifecycle order
Sync → Lifecycle order looks for status events out of order or in contradiction with the invoice. Check runs NomaUBL's check and says its figures; each finding shows DOC, DCT, company, Step, Found, Expected and its State (Out of place, Out of order, Invalid, Header drifted; after cleaning Removed, Reordered, Realigned). Tick the findings, then Clean (Clean … event(s) of their invoices' lifecycle?). A line opens its invoice. What the check looks at: Lifecycle ordering.
Documents to process
Sync → Documents to process processes what waits in NomaUBL — NomaUBL's Fetch input page — drawn as stages: From, Template, Documents, Options, Result, with Process … selected at the end of the strip. The first stage offers four sources as cards:
| Source | What is listed |
|---|---|
| The template's folder | The files waiting in the input folder of the template picked |
| BI Publisher jobs | The JD Edwards BI Publisher jobs not taken yet (Days back, List); each job's own template routes each job by its report, as NomaUBL's scheduler does |
| Watched folders | The folders NomaUBL watches: what is new in them, listed or processed now (below) |
| Received from the platform | Fetch the received invoices downloads the invoices the platform received and processes them |
The Options stage holds Mode (Auto, Single, Burst, UBL), Send to the platform (as set, no, yes), for BI Publisher the Language and Extract (input, output, both), and the boxes Replace existing, Timings and, on a UBL template, Validate only. Process … selected asks first; NomaUBL answers when every document is done. The Result stage gives n processed, n failed of n and one line per document (OK / KO, status); a line unfolds to its log or its validation findings.
The BI Publisher source reads JD Edwards' BI Publisher tables; after processing, NomaUBL marks each job as taken in JD Edwards, as its settings say.
Watched folders
With Watched folders as source, the Scan stage scans the folders as saved — NomaUBL's watched folders:
- Folder: Every folder or one of them (
#1 – /data/in/invoices → invoices); - Since (optional): a date (
yyyy-MM-dd) that widens every folder's window for this run; blank keeps each folder's own window; - Dry run lists what would be taken and processes nothing; Scan and process asks first, then processes what is new.
The result gives one line per folder — Found, New, Already taken, Processed, Failed, Error — and NomaUBL's log of the run. Set up the folders opens Settings → Watched folders.
Access
The Sync folder belongs to the E-invoicing administrator role. NomaUBL checks no permission on most of these routes: Liberty's role does. Every run and every change is written to Liberty's log with who made it; NomaUBL records Liberty's account.
Tips & best practices
- Plan in one place. Either NomaUBL's scheduler or Nomaflow triggers a job, never both.
- Use the Nomaflow jobs for alerts. A Nomaflow run fails when NomaUBL ends with errors, so its alert reaches the team without anyone watching the Scheduled jobs screen.
- Dry run first. On the watched folders, a dry run shows what a scan would take before anything is processed.
- Record after a check. On Status integrity, record only the Missing events once the period checked looks right; tick Send the notifications when the notification rules must fire for them.