Behind our main web platform, we run a set of dedicated worker servers that process platform-generated jobs in the background. These jobs are usually generated by Connector actions, file import/exports and other automatic behaviors occurring on the platform. All such jobs are placed on a queue where they remain until a worker process picks up the job and executes it. These background jobs may sit on the processing queue for a little while before being processed.
Although usually jobs are picked up and processed within a few seconds, in some cases jobs can take longer to run, from several minutes to hours. There are several reasons why a job might take longer than expected:
Given the reasons above, we do not guarantee immediate execution of background jobs. Your jobs will get run by the system, just possibly not within a few seconds.
Form Connector Run Times
When a Form entry is uploaded to our platform, it is sent in two key parts:
The answer data from the Form is generally very quick to upload and does not require a fast network connection. Media files, however, are much larger files and thus take time to upload. Form Connectors that are based purely on the answer data will normally run almost immediately after the Form entry is uploaded; examples of these include Google Spreadsheet and HTTP POST Connectors. However, many other Connector types generate output files in PDF, Excel and Word formats. These Connectors require that all the media files (photos in particular) must be uploaded before they will run. This is to ensure that the output files generated do not have missing images. As such, you should not design a process that assumes Form Connectors will run as "live" or "immediate" activities. The more photos involved, the longer a Connector may delay since these can take a while to upload. This is especially true if your app users are working in areas with poor mobile data connections that have slow/intermittent upload speeds.
To complicate matters further, we must also consider the mobile operating system (OS). Every mobile OS tries to stop/kill the app as soon as possible once the app is no longer displayed. This is because a key priority of a mobile OS is to make sure that apps don't drain the device battery.
Reducing Delays In Form Connector Run Times
Since media file uploads are the key bottleneck, here are several ways to reduce delays:
If you continue to have problems with Connectors being heavily delayed in sending/running, please contact our support team.
Automatic Refresh Interruptions
When a Data Source connector that is set to automatically refresh ends up failing too many times for some reason, it will need to be manually restarted for the automatic refresh to resume. Connectors can be manually restarted by clicking "Run Now" on the individual connector within the Data Source's settings page.
