A Task is the executable unit in Polysync. It is a configured instance of a Job that captures:
| Tab | What you configure |
|---|---|
| General | Task name, Platform, Job Type, Job (locked after save). |
| Settings | Parameter values inherited from the Job's schema. Supports literals, vault references, and parent-output mappings. |
| Dependencies | Upstream Tasks whose outcome triggers this Task. Includes a visual dependency diagram with a Split / Stacked view. |
| Scheduling | Zero or more schedules, each with its own timezone and on/off switch. |
| Runtime Settings | Priority, retry configuration, execution timeout, and per-task concurrency cap. |
| Alerts | Whether to send a message to Microsoft Teams, Slack or a webhook when a run's final attempt fails, the Task succeeds, or it recovers. Off by default. See Notifications. |
TaskRun is created and placed in the Queued state.Every run and its history can be followed in Monitoring.
The Run Once action queues a single immediate execution of a Task with trigger type Manual. Useful to:
The AI Copilot exposes this via the run_task_once tool. Because a run
consumes resources in your own cloud account, the Copilot proposes the run
and waits for you to approve it — see Polysync Copilot.
Task parameter values (Settings tab) start from the defaults defined on the Job and can be overridden as:
vault://<vault>/<secret> resolved at runtime, so
the secret value is never stored on the Task.Parent-output mapping works across platforms and clouds. When a parent run finishes, its output values are recorded; when the child is released, the mapped values are applied on top of the child's own parameter values before the child's job is called. This replaces the glue code (webhooks, queues, shared tables) usually needed to pass a value from, say, an Azure Data Factory pipeline into a Databricks notebook.
Dependencies connect Tasks into a directed graph (DAG). A parent and child can run on different platforms, and in different clouds — for example a Google Cloud Composer DAG can start an Azure Data Factory pipeline.
Each dependency has a trigger condition that decides which parent outcomes start the child:
| Trigger | The child is released when the parent run… |
|---|---|
| On Success | ends as Completed. |
| On Failure | ends as Failed. Use this for clean-up Tasks, or for an alerting Task of your own. To post a message to Microsoft Teams, Slack or a webhook, use the Task's Alerts tab instead — see Notifications. |
| On Completion | finishes at all — Completed, Failed, or TimedOut. |
A Cancelled parent run does not release any child.
A Task with several parents waits until every one of its dependencies is satisfied, then runs once. It does not run once per parent.
Each parent run is used by the child only once. When the child starts, it takes the oldest unused qualifying run of each parent. If one parent runs twice before another finishes, its second run is kept for the child's next run.
Parent runs are paired in the order they arrive. Polysync does not match them by batch ID or business date. If every parent must belong to the same batch, pass the batch or date as a parameter (see Parameter mapping above) and check it in the job.
The dependency editor rejects a Task depending on itself and any link that would create a cycle (A → B → A, or a longer loop), before the change is saved.
The Dependencies tab shows an editable list of upstream and downstream Tasks alongside an interactive diagram. In the diagram you can:
Use the Split / Stacked toggle to view the list and diagram side by side or one above the other. On narrow screens the view is always stacked.
Schedules are built with a visual schedule builder, so there is no cron syntax to learn. You answer How often should this run? and refine from there:
| Frequency | Options |
|---|---|
| Every few seconds | Every N seconds. |
| Every minute(s) | Every minute or every N minutes. |
| Every hour(s) | Hourly at a chosen minute, every N hours, or within an hour range. |
| Daily | A time of day. |
| Weekly | One or more days of the week, at a time. |
| Monthly | Specific days of the month, specific months, the Nth weekday (for example the 2nd Tuesday), the last occurrence of a weekday, the last day or last weekday, the nearest weekday to a date, or a number of days before month end. |
| Custom | Write your own cron expression. |
While you build a schedule the editor shows:
A Task can have as many schedules as you need, and each can be switched on or off independently — for example a weekday schedule and a separate month-end schedule.
Custom expressions use the Quartz cron format with six or seven fields:
Second Minute Hour DayOfMonth Month DayOfWeek [Year].
If a schedule fires while an earlier run of the same Task is still active, the Task's Max Concurrent Runs setting decides whether the new run is allowed (see below).
Sets the dispatch order when multiple Tasks are queued simultaneously. Higher-priority Tasks are claimed by the Dispatcher before lower-priority ones.
| Field | Description |
|---|---|
| Retry Enabled | Toggle automatic retry on failure. |
| Max Retry Attempts | How many times to retry before marking the run Failed. |
| Backoff Strategy | Fixed — same delay each time. Linear — delay × attempt number. Exponential — delay doubles each attempt. |
| Initial Retry Delay (seconds) | Base delay before the first retry (and the multiplier for Linear/Exponential). |
| Max Retry Delay (seconds) | Cap on how large the calculated delay can grow. |
| Field | Description |
|---|---|
| Execution Timeout (seconds) | Maximum wall-clock time a single run may take before being terminated. Leave empty for no timeout. |
| Max Concurrent Runs | Maximum simultaneous active runs of this specific Task. Use 1 to enforce sequential execution. Leave empty for unlimited. A run that would exceed the cap is rejected rather than queued. This is independent of any linked Contention Profiles, which manage shared capacity across many Tasks. |
The Alerts tab, after Runtime Settings, sends a short message to Microsoft Teams, Slack or a webhook when a run ends the way you choose: the final attempt fails, the Task succeeds, or it succeeds after a failure. Alerts are off by default, and only an administrator can change them. They are saved with the Task.
With retries on, Polysync waits for the last retry before it sends a failure alert. Failures can be sent one by one or grouped into one message every 5, 15 or 60 minutes. Messages show the task, job and platform names, never the error text.
Channels are set up once in Setup, under NotificationChannel. See Notifications.
The retry settings above are Polysync's own: they decide what the platform is asked to run again when a task fails, and they apply whether or not the agent is on. The Monitoring Agent reads the retry history when it diagnoses a failure, and it reports whether a retry is safe for the class of failure it found.
Agent retries are a separate mechanism. They do not exist at level 1 (Observe), and when they arrive they will only propose or perform what the organisation has authorised. The task's own settings are unchanged by the agent.