Features️
-
Introducing the Bulk Sync API to streamline your data synchronization process. The functionality of the Document Synchronization plugin is now available as an API endpoint with a straightforward CSV data format.
#api
#system
21.1.323
#351573
Bulk Sync API
A new API (
POSTto/api/bulk/sync) allows bulk creation, updating, and inactivation of documents using CSV data.This can be used to keep a list of data in Execute synchronized with an external system. Any tool that can extract data as a CSV file and perform an HTTP POST will now be able to update Execute data.
Example Usage
The API is reached at
https://YOUR_SERVER/api/bulk/sync?type=PARTNER&dryrun=true.Authentication uses Execute API Keys via HTTP Basic Auth.
The
type=query parameter is required and indicates which Execute document type will be updated.Other parameters are available to control the sync behaviour, see the documentation.
The
dryrun=trueparameter is useful for testing — it runs the full sync and returns a report of what would happen without making any changes to the data. Remove it (or set it tofalse) when ready to commit.Each row in the CSV identifies one or more documents and provides value columns to update the data on the matched document(s).
The CSV header row contains the field path for each column. Columns prefixed with
$are key columns used to find matching documents; the remaining columns are the values to update.Here is a CSV for Execute PARTNER data which will match on the partner code to update the name and address.
COMNAME,$CODE,STRADDRESS Sesame Exploration,39,123 Sesame Street Micro Eggbert Oil,12,"1111, 111 - 1st Avenue S.W." Example Ltd.,10,"3300, 333.3 - 3rd Avenue S.W."It could be sent to the Execute API with
curllike so:curl -u "$APIKEY_ID:$APIKEY_KEY" \ -X POST "https://YOUR_SERVER/api/bulk/sync?type=PARTNER&dryrun=true" \ -H "Content-Type: text/csv" \ --data-binary @sample.csvWith
dryrun=true, the response shows what would happen without making any changes:Record,Level,Message 1,Info,DRY RUN: Would update document a1b2c3d4-... 2,Info,DRY RUN: Would update document b2c3d4e5-... 3,Info,DRY RUN: Would update document c3d4e5f6-... Summary,Info,"Summary: 0 created, 3 updated, 0 unchanged, 0 inactivated, 0 errors, 0 warnings"Once the results look correct, remove
dryrun=trueto commit the changes. The response will then confirm what was actually updated:Record,Level,Message 1,Info,Updated document a1b2c3d4-... 2,Info,Updated document b2c3d4e5-... 3,Info,Updated document c3d4e5f6-... Summary,Info,"Summary: 0 created, 3 updated, 0 unchanged, 0 inactivated, 0 errors, 0 warnings"
Enhancements
- We’ve improved file attachments by adding a progress meter to drag-and-drop uploads, enforcing a consistent 256MB file size limit, and showing clearer error messages when uploads fail. #attachments #ui 21.1.323 #359298
- Added extra diagnostic info to some internal error messages, making it simpler to understand what went wrong when data is missing or invalid. #workflow #system 21.1.323 #360005
Bugs
- Fixed a “DocumentHandle not found” error on workflow tasks when multiple fields on a referenced document are used and certain combinations of them are non editable. #workflow 21.1.324 #362694
- Fixed a timezone comparison issue that prevented position rules with start dates near the current time from activating correctly on jobs. This ensures delegation and position rules now trigger as expected regardless of timezone differences. #well delivery #system 21.1.323 #358838
- The connection to the Dynamic Docs API now restricts attribute values to a maximum length of 255 characters. #plugins 21.1.323 #357818
- The ODA DOI selector now correctly handles identical duplicate records. #ondemand #plugins 21.1.323 #361364
- “Primary Well” fields were missing from the Update Multiple UI. They have returned! When updating multiple records you can once again select the Primary Well fields. #afe #ui 21.1.323 #360400
-
Fixed the issue where fields with a
CUSTOM/path could not be edited on referenced documents. #workflow 21.1.323 #357763 - Corrected the error message when a workflow task referred to an inactive field. #workflow 21.1.323 #358372
- Fixed an issue where editing fields on referenced documents causes intermittent save failures and the SQL Warehouse sync to fail with a duplicate key error. #workflow 21.1.323 #358841
- Fixed an issue where the workflow task UI is not editable when it only contains fields from referenced documents. #workflow 21.1.323 #358973
- Attachments now download successfully from attachment fields belonging to other document types. #workflow #attachments 21.1.323 #357763