Skip to content

How do I schedule something for the ERP to do on its own at regular intervals?

A schedule is a set of steps (any assistant tool or action, with its details fixed) and a when. In Tasks → Schedules you create it, approve it, pause it and look up its history. Here is the clock-based case: ‘every day at 7’, ‘every Monday first thing’, ‘on the 1st of every month’.

What do I need before I start?

Edit permission in the schedule’s module, or in Tasks. The schedule runs in your name: whatever it does, it does with your permissions, your mailbox and your AI credits. If a step asks for something you don’t have access to, that step fails.

How do I do it?

  1. Go to Tasks → Schedules and click New schedule.
  2. Name (as it will appear in the list) and Scope (the module it belongs to: it decides who sees it and who can approve it).
  3. Lane: Fast (up to 10 min) for normal work; Long (up to 2 h) for what may take a while (imports, large syncs). A long job doesn’t hold up the rest. Maximum time (min) limits each run; if it goes over, it is cancelled.
  4. In What it will do, add the steps with Add step. In each one, choose in the tree what it will do: the tools are grouped by module (with the module’s icon), and each one has a lightning icon if it writes to the ERP (an action), a magnifying glass if it only looks things up, or a star if it is the free-form request to the assistant. You can type in Search by name… to filter. When you click one, the panel on the right says what it does and how you would ask the assistant for it; below it the Step data appears, one per line, with its help note and with the required (\*) and optional ones marked. Steps run in order and the schedule stops at the first one that fails.
  5. In When, leave By the clock and set the rhythm: Every N day(s), week(s), month(s) or year(s); From (the date the series starts); At (time); and To, optional, if it has an end date. With weeks, the seven days appear as initials (M, T, W, T, F, S, S) so you can tick which ones.
  6. In How the result is delivered, tick Record in Activity (the result is left in Main → Activity, as Scheduled), Email and/or Task in the inbox, and in Who to the people who receive it (if you tick nobody, it comes to you). With Task in the inbox you can choose the Task inbox and a Group (for the task). Summary written by the assistant replaces the table of steps with a summary in prose; it spends credits.
  7. Click Refresh in Preview: it shows each step turned into a sentence, the Upcoming five dates, the approximate cost if there are steps with an AI level, and whether it needs approving.
  8. Save.
  9. If it writes to the ERP, it is left Pending approval. Click Approve and start.

What happens when I do it?

A schedule that only looks things up (lists, searches, calculations) is Active when you save it. One that writes (any action, or a free-form request to the assistant) is created Paused with the reason ‘Pending approval: it has steps that write data’. It doesn’t run until someone approves it.

Approving means confirming exactly those actions with those details, once, instead of confirming them every time in the chat. Whoever approves has to be able to run each of those actions themselves, today. If you later change the steps, the when or the categories of the free-form step, the approval is withdrawn and the schedule goes back to Pending approval.

Once approved and active, the list shows Next run (when it is due) and, after each run, Last run with the result in one line. Each run delivers the result where you ticked and is kept in Latest runs.

How do I run it right now, pause it or activate it again?

What does the history show?

With the schedule open, Latest runs lists each run with Planned (when it was due), Status, Start, End and Result. Click a row to see the detail: the full summary, the Steps with what each one returned and the Actions run.

StatusWhat it means
QueuedIt is due and waiting for a runner to pick it up
RunningIt is in progress
DoneIt finished correctly
ErrorA step failed; the reason is in Result
SkippedIt wasn’t run, on purpose

What happens if it fails several times in a row?

After three errors in a row the schedule pauses itself, with the reason ‘Paused after 3 consecutive errors: …’ and the last error. That way a repeated failure doesn’t spend credits or fill up the bell. Fix it and click Activate.

It also pauses itself when it reaches To (‘Reached its end date.’).

What happens if the ERP was switched off at the planned time?

It runs once when it comes back, and carries on with the next future date. An ERP that was stopped for a month doesn’t launch thirty runs in a row.

Can I schedule from other screens?

Yes. In Recurring invoicing and in Online store there is a Schedule… button that opens a new schedule with the step already in place (the invoicing run, the sync): you only choose the when.

Also from the assistant chat: see schedule and check from the chat.

If something goes wrong

What you seeWhat has happenedWhat to do
New schedule doesn’t appearYou don’t have edit permission in any module or in TasksAsk for the permission
‘Before activating it, what it writes must be approved.’It has actions or a free-form step and nobody has approved itApprove and start
When approving: ‘Step 2 (crear_presupuesto): …’That step has an invalid detail, or you don’t reach the level that action requiresCorrect the detail, or have someone with permission approve it
‘Assistant actions are disabled in this company: a schedule that writes data cannot be approved.’The company has the actions switched offSettings → POS and terminal settings → Terminals (‘Assistant actions’ card)
‘The tool “…” in step 1 does not exist in the catalogue.’That tool is no longer thereChoose another one in the step
‘Cancelled for exceeding the maximum time of 10 minutes.’ in a runThe job took longer than allowedRaise Maximum time or move it to the Long lane
‘The installation running it stopped responding halfway through.’The server restarted during the runIt runs again on its next date; Run now if it is urgent
‘It has a run in progress: wait for it to finish.’ when deletingIt is runningWait a few minutes
It never runs and it is ActiveThe scheduler is stopped on that installationTell support

See also: Schedule something for when an event occurs · Let the assistant work on its own · Organising work with tasks and schedules