Automated processes
Lattice does part of its work without anyone pressing a button: it runs queued requests, retries failures, cleans up its logs, sends time-based business events and checks its license. This section has one page for each of those processes. Each page says why the process exists, what starts it, what you can configure, how it works, what it needs, what it reads and changes, where to see that it ran, what to do when it fails and what else depends on it.
The guides by process cover the work people do; the guides by role cover where each person goes.
Background processes: they run by themselves
These are process automation background processes. When Lattice is deployed with your build, the deployment's database synchronization registers them, and from then on they run on their own interval, with nothing for you to schedule. Do not also schedule their jobs as recurring batch jobs: both would run.
They cannot be switched off. On System administration > Setup > Process automations, Background processes, Edit changes only Repeats, Repeat interval, Next execution, the sleep period and the owner, and a later deployment keeps your changes. A daily process first runs at the first poll after the deployment that registered it, and keeps that time of day (later if a run is late). To choose the hour, set Next execution.
| Process | Interval | What it does |
|---|---|---|
| Lattice Async Operation Processing | Every minute | Runs queued asynchronous operations and settles the ones that stopped without a result. |
| Lattice dead-letter retry | Every 5 minutes | Replays dead-letter items that are due for another attempt. |
| Lattice recurring data job health alerts | Every 15 minutes | Evaluates each recurring data job's health and raises an alert event when it changes. |
| Lattice idempotency reconciliation | Every hour | Finalizes, releases or parks claims stuck in Processing. |
| Lattice business event reconciliation | Every hour | Publishes again the business events whose publish failed. |
| Lattice workflow stalled or failed alerts | Every hour | Raises an event for faulted workflows and work items pending too long. |
| Lattice service call statistics rollup | Once a day | Rebuilds the daily totals that Service call statistics shows. |
| Lattice integration log cleanup | Once a day | Deletes log rows older than their retention period. |
| Lattice file ingestion cleanup | Once a day | Deletes processed file ingestion bundles past their connection's retention. |
| Lattice sales price effectivity events | Once a day | Sends the effective and expired events for sales prices whose dates have arrived. |
Batch jobs you schedule
Nothing runs these until you schedule them.
| Process | Schedule | What it does |
|---|---|---|
| File ingestion pull and segment processing | Two batch jobs, once for the environment | Picks up partner files and sends each record to its target operation. |
| Inbound order policy evaluation | One batch job in each legal entity where the policy is on | Holds, flags or confirms new sales orders against the price tolerance. |
Jobs you run when you need them
| Process | When | What it does |
|---|---|---|
| Service and OData metadata refresh | After each deployment, or when the catalogs look out of date | Fills the catalogs of services, operations and data entities. Nothing starts it automatically. |
| APIM bundle bulk export | When you publish to Azure API Management, or on a schedule you choose | Builds the API Management bundles and can upload them for a pipeline. |
The business event catalog refresh (System administration > Periodic tasks > Lattice business events > Refresh catalog, Integration administrator) is another job you run when you need it, after a deployment that adds events. Nothing runs it automatically.
These jobs also run only when you start them, and each needs the Integration administrator role:
- On System administration > Periodic tasks > Lattice business events: Business event coverage report (compares the events this environment exposes with the reference list of Finance and Operations business events), Load business event reference list (loads that reference list; the coverage report loads it by itself when it is empty), and Publish all customer business events (resync), Publish all item business events (resync) and Publish all external item business events (resync), which send the customer or item events again for every record, for example to bring a new subscriber up to date.
- On System administration > Periodic tasks > Lattice data entities: Analyze table data and entity coverage, which takes a new snapshot for Table data and entity coverage (see Checking table and entity coverage).
Started by Lattice itself
| Process | When | What it does |
|---|---|---|
| Lattice license check-in | At each environment start, then daily | Brings back the environment's current license. |
| Database access expiry sweep | At each grant's expiry time | Revokes just-in-time database access grants that have expired. |
| What Lattice does at server startup | Each time a server starts | Registers licensing, the set-based import entities and the pages for the Help icon. |