{"title":"Async Task Object Reference","slug":"async-task-object-reference","url":"https://support.storeconnect.com/articles/async-task-object-reference","url_markdown":"https://support.storeconnect.com/articles/async-task-object-reference.md","subtitle":null,"summary":"The internal queue StoreConnect uses to pace record refreshes, one row per queued task. Read it to see where a refresh has got to; it is not a record type you create or work in.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Async Task, s_c__Async_Task__c, api","last_modified":"2026-10-13T04:07:00+0000","body_markdown":"## Overview\n\nStoreConnect queues each record refresh your store asks for as an **Async Task** and works through the queue in priority order, rather than refreshing every object at once. The records are readable so you can see where a refresh has got to. StoreConnect manages them: you do not create, edit, or delete them in normal use. Completed and failed tasks are deleted automatically seven days after they finish.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Async_Task__c` |\n| **Label** | Async Task |\n| **Plural Label** | Async Tasks |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Error Message | `s_c__Error_Message__c` | LongTextArea(131072) | No | Why the task failed. |\n| Job Type | `s_c__Job_Type__c` | Picklist | No | Which processor handles this task. |\n| Key | `s_c__Key__c` | Text(255) | No | Identifies what the task is for within its job type, which is the object name for a refresh. A repeat request for the same object merges into the task already waiting for it. Once that task has started, a new request gets a task of its own. |\n| Metadata | `s_c__Metadata__c` | LongTextArea(131072) | No | Task progress, stored as JSON and rewritten as the task runs. To restart a stuck task from the beginning, clear this field and set **Status** back to `New`. |\n| Payload | `s_c__Payload__c` | LongTextArea(131072) | No | What your store asked for, stored as JSON. Do not edit it. |\n| Priority | `s_c__Priority__c` | Number(18,0) | No | Processing order within a job type. Lower numbers run first, and tasks sharing a number run together as a group. |\n| Retry Count | `s_c__Retry_Count__c` | Number(18,0) | No | How many consecutive passes have made no progress on this task. It resets as soon as the task moves. |\n| Status | `s_c__Status__c` | Picklist | No | Where the task is up to. `New` is waiting, `Processing` has a job running on it, and `Completed` and `Failed` are final. |"}