Run tasks in the background

Run tasks in the background

It's efficient to run some tasks simultaneously and in an automated manner. You can perform such tasks in the background and can also set a schedule when you want those tasks to run automatically. To run tasks in the background, two modes are supported:

  • Manually triggered tasks are scheduled immediately via Job Queue Entries.
  • Recurring tasks are scheduled in Job Queue Entries.

Run tasks in the background for a specific shop

  1. Choose the Lightbulb that opens the Tell Me feature. icon, enter Shopify Shop, and choose the related link.
  2. Select the shop for which you want to run synchronization in the background to open the Shopify Shop Card page.
  3. Turn on the Allow Background Syncs toggle.

Now, when the sync action starts, instead of running a task in the foreground it asks you to wait. When it completes, you can proceed to the next action. The task is created as a Job Queue Entry and starts immediately.


To schedule recurring tasks

You can schedule the following recurring activities to be performed in an automated manner. Learn more about scheduling tasks at Job Queue.


TaskObject
Sync orders from ShopifyReport 30104 Sync orders from Shopify
Process Shopify ordersReport 30103 Shopify create sales orders
Sync shipments to ShopifyReport 30109 Sync shipment to Shopify
Sync products and/or pricesReport 30108 Shopify sync products
Sync inventoryReport 30102 Sync stock to Shopify
Sync imagesReport 30107 Shopify sync images
Sync customersReport 30100 Shopify sync customers
Sync companiesReport 30114 Shopify sync companies (B2B)
Sync paymentsReport 30105 Shopify sync payments
Sync catalogsReport 30115 Shopify sync catalogs (B2B)
Sync catalog pricesReport 30116 Shopify sync catalog prices (B2B)

 Note

Some elements might be updated by several tasks. For example, when you import orders, depending on the setting on the Shopify Shop Card page, the system may also import and update customer and/or product data. To avoid conflicts, remember to use the same job queue category.

Use the Report Request Page action to define filters. For example, you can specify that you import orders only when their status is Fully Paid.

Other tasks that can be helpful to automate further processing of sales documents:

  • Report 297 Batch Post Sales Invoices
  • Report 296 Batch Post Sales Orders

You can use the Shopify Order No. field to identify sales documents that were imported from Shopify.

To learn more about posting sales orders in a batch, go to To create a job queue entry for batch posting of sales orders.

To check the status of synchronization

On the Business Manager Role Center, the Shopify Activities part offers several cues that can help you quickly identify whether there are issues with Shopify Connector.

  • Unmapped Customers: Shopify customer is imported, but isn't linked to a corresponding customer entry in Business Central.
  • Unmapped Products - Shopify product is imported, but isn't linked to a corresponding item entry in Business Central.
  • Unprocessed Orders: Shopify orders are imported, but sales documents in Business Central weren't created, often because of unmapped products or customers.
  • Unprocessed Shipments: Posted sales shipments originated from Shopify orders aren't synchronized with Shopify.
  • Shipments Errors: Shopify Connector couldn't synchronize posted sales shipments with Shopify.
  • Synchronization Errors: There are failed job queue entries related to synchronization with Shopify.

    • Related Articles

    • Troubleshooting the Shopify and Business Central synchronization

      You might run into situations where you need to troubleshoot issues when synchronizing data between Shopify and Business Central. This page defines troubleshooting steps for some typical scenarios. Run tasks in the foreground Choose the icon, enter ...
    • Walkthrough: Set up and use the Shopify Connector

      This section demonstrates some typical scenarios and takes you through the steps to test or train users on the workflow of the integrated Business Central and the Shopify store. Prerequisites Shopify You must have: A Shopify account A Shopify online ...
    • Synchronize and fulfill sales orders

      This article describes the necessary settings and steps that you must complete to synchronize and fulfill sales orders with Shopify in Business Central. Set the import of orders on the Shopify Shop Card Enter a currency code if your online shop uses ...
    • Synchronize customers and companies

      When you import an order from Shopify, getting the information about the customer is essential for further processing the document in Business Central. There are two main options for doing so, and several combinations: Use a special customer for all ...
    • Synchronize items and inventory

      Items in Business Central are equivalent to products in Shopify. They're the physical goods, digital downloads, services, and gift cards that you sell. There are two main reasons to synchronize items: When you primarily manage data in Business ...