Workflow

Workflow

The original version of this document is located at https://docs.qfield.org/reference/qfieldcloud/workflow

Workflow

Here you can find a typical setup of a Manager and Fieldworker as two main actors who interact on QGIS and QField respectively.

```mermaid
sequenceDiagram
autonumber

actor Manager;
actor Fieldworker;

participant QGIS as QGIS (QFieldSync)
participant QField
participant API as QFieldCloud App

Manager–>API: Project preparation
activate Manager

Manager->>QGIS: Upload new/updated files to a project
QGIS->>API: Upload QGIS project files
note right of API: Add process_projectfile Job to the queue
API->>QGIS: Return success status

Manager–>API: Fieldwork activities
deactivate Manager
activate Fieldworker

Fieldworker->>QField: Open QFieldCloud project list

QField->>API: Request list of projects
API->>QField: Return list of projects
Fieldworker->>QField: Open a QFieldCloud project from the list
QField->>API: Request packaging a project
note right of API: Create a new package Job
API->>QField: Return the created package Job data

QField->>QField: Wait for package Job to finish

QField->>API: Request project files download
API->>QField: Downloaded files

QField->>QField: QField project opens

Fieldworker->>QField: Modify a feature in non-online layer
QField->>QField: Store feature in the local datasource
and create a Delta

Fieldworker->>QField: Press “Push changes”
QField->>API: Send the Deltas
note right of API: Create a new apply_deltas Job
API->>QField: Return the created apply_deltas Job ID
QField->>QField: Empty the local Deltas
and wait for new modifications

Manager–>API: Download collected data
deactivate Fieldworker
activate Manager
note over Manager, API: Wait some time until apply_delta Job is finished

Manager->>QGIS: Download collected data
QGIS->>API: Get project file list
API->>QGIS: Return project file list

QGIS->>QGIS: Detect modified files
and suggest a synchronization

loop [download modified project files]
QGIS->>API: Request file download
API->>QGIS: Download file
end
deactivate Manager

```

    • Related Articles

    • Authentication

      The original version of this document is located at https://docs.qfield.org/how-to/advanced-how-tos/authentication Authentication QField supports connecting to services requiring access authentication. This page will go through authentication ...
    • Bookmarks

      The original version of this document is located at https://docs.qfield.org/how-to/qfield-interface/bookmarks Bookmarks QField allows you to save and display bookmarks that will be remembered across sessions and projects. By default, QField will ...
    • Map Decorations

      The original version of this document is located at https://docs.qfield.org/how-to/qfield-interface/decorations Map Decorations ?️ Desktop preparation If you want to customise your project with “Decorations” in QField this can be done but you need ...
    • Plans and Additional Storage

      The original version of this document is located at https://docs.qfield.org/get-started/storage-qfc Plans and Additional Storage In case you wish to upgrade to a QFieldCloud “Pro” or “Organization” plan, your billing information will be required. The ...
    • External routing

      The original version of this document is located at https://docs.qfield.org/how-to/navigation-and-positioning/external-routing External routing It can come in handy to calculate an itinerary to one of your features in the field. By an easy ...