> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Introduction ## Article: Introduction ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/background-tasks/introduction.md ## Article Content: # About the Background Tasks API > **Note for app developers:** Wix Data APIs require the site's [code editor](https://dev.wix.com/docs/develop-websites/articles/get-started/development-environments.md) to be enabled. If you are building a Wix app, add a [data collections extension](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/data-collections/about-data-collections-extensions.md) to automatically enable the code editor and create data collections when your app is installed on a site. The Background Tasks API allows you to create and manage tasks that process [data items](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/introduction.md). Tasks run in the background, so they don't block the user's ability to work on their site while items are processed. Each task has a different type, which determines the kind of processing the task performs on the items of the specified collection. You can create tasks to: - Copy data from one field to another for all items in a collection. - Update field data for items that match a specified filter. - Delete all items in a collection that match a specified filter. - Update the publish status for items that match a specified filter. ## Before you begin It's important to note the following points before starting to code: - To run a task of the type `UPDATE_PUBLISH_STATUS`, the collection must have the Publish plugin to [control item visibility](https://support.wix.com/en/article/cms-controlling-live-site-item-visibility-from-your-collection). ## Use cases - [Set items' Publish status](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/background-tasks/sample-flows.md). - [Delete items by a query](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/background-tasks/sample-flows.md). ## Terminology - **Field**: Where item content is stored in a collection. Collections can have multiple fields. Learn more [about collection fields](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields). - **Field type**: The kind of content each field can contain. Learn more about [field types](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-type). - **Collection environment**: Each collection can have two separate versions, one for testing and one for the live site. Learn more about working with [sandbox and live collections](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#sandbox-collections). - **Publish plugin**: Allows items in a data collection to be marked as draft or published. Published items are visible to site visitors, while draft items are not. Learn more about [controlling live site item visibility](https://support.wix.com/en/article/cms-controlling-live-site-item-visibility-from-your-collection). @sdk_package_setup