Changes since Execute 21.1.276

This update includes possible breaking changes and may require manual steps before/after upgrade. Please carefully review all items tagged with #manual step prior to updating!

Schema Changes

  • Added new CHUNK column to EXECUTE_DOCUMENTS in Warehouse schema. A document may now be split across multiple chunks (having multiple rows). 21.1.277
  • Removed the data column from EXECUTE_DOCUMENTS_LATEST in SQL Warehouse schema. 21.1.277

Features️

  • Improved capability for referencing fields on other documents. #system 21.1.281 #306214

    In many places throughout Execute, information from linked documents can now be included without requiring you to build calculated fields, etc. The examples below are primarily around Wells, Jobs and Pads but the functionality is available across any for any record type in Execute.

    Browse Reports (User Facing)

    Using our new column picker, everyone can now build reports that include/reference data from related documents.

    Here is a quick example showing how to include Well and Pad-level fields on a Job report.

    Browse Demo

    We always strive to minimize non-admin/end-user-facing changes to avoid the need to retrain users. In this case, while there is a visible change for the end-user, we hope the change is small and obvious enough that it won’t cause any confusion.

    Custom Tabs

    Administrators can also include fields from related documents when building custom tabs. For example, a Job custom tab can include fields from the linked Well or Pad for reference.

    Note that currently, these referenced fields are NOT editable (i.e. you can’t edit a Well field from the Job), but we’re working on that!

    Custom Tabs

    Workflow Tasks

    Administrators can include fields from related documents on workflow tasks. For example, a Job-level workflow task can include fields from the Job, the Job’s Well, and the Job’s Well’s Pad! Unlikely Custom Tabs, these fields are all editable (assuming the user has the appropriate permissions).

    Workflow Tasks

    Custom Business Rules (Blockly)

    And, finally, you can do this when building custom business rules using Blockly too!

    Execute used to offer similar functionality for specific references using our “Reference Fields” dropdowns. These fields have been replaced by the new (more capable) functionality, and any existing rules using the old Reference Fields should have been automatically updated to the new structure*.

    Blockly References

    Note: The old Reference Fields did allow building some references which we consider problematic because their behaviour was unpredictable. We have removed support for these problematic relationship types. Existing rules will continue to work as they did before, but it will no longer be possible to create new rules of these types.

    The following relationships are no longer supported.

    1. Project > Well
    2. Project > Site
    3. Site > Well
    4. Well > Job
    5. Site > Job

    For clarity, the way to read an entry like “Well > Job” in the above list is that it is not valid for a Well-level report, workflow task, report, etc., to refer to a Job-level field. The reason is that a Well often contains more than one Job, and as soon as more than one Job is referenced, it is impossible to show a single value for a linked Job-level field. Previously, we allowed rules to be built like this, but they would silently stop working as soon as more than one Job was linked.

Enhancements

  • Upgraded Snowflake library to mitigate potential security vulnerability. #security 21.1.286 #329078
  • Added a new optional “Net Project” field to Projects which ensures that all forecasting/actuals on that project are Net $ (useful for bucket-type projects). #budget 21.1.286 #328293
  • We have improved how we store configuration parameters for integration with On Demand Accounting to streamline troubleshooting for Quorum Support. #system 21.1.282 #306741
  • Execute, our installer, and the helper utilities are now digital signed by Quorum. #security 21.1.280 #293676
  • Added a 6 month option for API key lifetime. #api 21.1.280 #316723
  • Updated .NET framework to .NET Core 8. Updated many of our 3rd party libraries to the latest versions. #system #security 21.1.278 #293070
  • Updated the Reporting/Browse API to make the filter parameter optional. #integration 21.1.278 #310598
  • Added a “DOCUMENT_TYPE” hint for Document Reference fields to Execute’s JSON serializer. This improves Snowflake/Azure SQL Warehouse Exports and the new Document Fetch APIs. #integration 21.1.278 #311108
  • Major improvements to SQL Warehouse to improve performance, error recovery and reliability. These enhancements require a manual update step #integration #manual step 21.1.277 #285281

    Execute’s Data Warehousing feature has received many updates:

    SQL Warehouse

    1. We have removed the NORMAL and MATERIALIZED options for the creation of helper views since they were not-performant with larger datasets. We added a new option TABLES_AUTO (the new default, and our recommendation for most cases) which will similarly ensure that the helper tables are kept current automatically.
    2. We have added support for breaking very large documents (typically only seen with Schedules) into smaller chunks. To enable this, the EXECUTE_DOCUMENTS table has a new chunk column. If you are querying EXECUTE_DOCUMENTS directly, you may need to adjust your queries to handle this correctly (When querying normal fields, filter to chunk=0. When querying child tables, include data from all chunks). If you are querying our automatically created helper tables, this work has been done for you.
    3. To avoid issues where restarting Execute could take a very long time, Execute will no longer wait for a sync to finish on shutdown but, instead, keep a highwater mark of successfully sync’d records. After restart, and on the next automated sync, Execute will publish any records modified since that stored highwater mark.
    4. Fixed behavior when Deleting and Undeleting records.
    5. To avoid excessive replication of data, the EXECUTE_DOCUMENTS_LATEST table no longer includes the data from the latest records. Queries relying on this table will need to join on EXECUTE_DOCUMENTS.

    Snowflake

    1. We have added support for breaking very large documents (typically only seen with Schedules) into smaller chunks. To enable this, the EXECUTE_DOCUMENTS table has a new chunk column. If you are querying EXECUTE_DOCUMENTS directly, you may need to adjust your queries to handle this correctly. If you are querying our automatically created helper tables, this work has been done for you.
    2. To avoid issues where restarting Execute could take a very long time, Execute will no longer wait for a sync to finish on shutdown but, instead, keep a highwater mark of successfully sync’d records. After restart, and on the next automated sync, Execute will publish any records modified since that stored highwater mark.
    3. Fixed behavior when Deleting and Undeleting records.

    Mandatory Manual Upgrade Step

    Because of the changes made in this update, administrators must manually perform the following steps after upgrading Execute.

    1. Replace your SQL Warehouse or Snowflake plugin with the latest version from plugins_available
    2. Verify that the Create Views setting is set appropriately (for SQL Server, we strongly recommend TABLES_AUTO)
    3. Remove all Execute created objects in Execute’s Data Warehouse schema (EXECUTE_DOCUMENTS, AFE, PROCESS_EXECUTE_DOCUMENTS, ...).
    4. Run the Schema Publisher synchronization task.
    5. Run the Document Publisher synchronization task.
  • Execute will now prevent password-based logins (login screen, APIs and OData) for environments which use Windows single-signon or Okta/OIDC. #integration #security #manual step 21.1.277 #306539

    Execute will now correctly prevent passwords from being used in environments configured to use Single Sign-on. This change has the potential to prevent users from accessing these SSO environments if they were relying on a username and password instead of the SSO mechanism.

    This affects environments…

    1. using OKTA or OIDC for SSO
    2. using our legacy Windows login mechanism where the Authentication Type setting is set to WINDOWS

    This means that:

    1. Users will not be able to login with a user-specified password in these environments.
    • Login screen
    • APIs
    • OData
    1. Users will not be able to set a password. The password changing feature will be hidden from the user’s profile.
    2. Administrators will not be able to set a user’s password from the user management screen.

    Any integrations using Execute’s API or OData should transition to using Execute’s safer API Key mechanism.

    If you require the use of user-specified passwords in your SSO environment (NOT RECOMMENDED), you can override this new behavior by setting the new Allow User Passwords When Federated setting.

Bugs

  • Resolved an issue where adding a custom link to the help menu would cause the release notes links to disappear. While we were at it, we also added support for “mailto:” links in the help menu making it easy for users to launch a new email to your internal Execute support team from the Execute help menu. #system 21.1.286 #328756
  • Password fields are now correctly hidden from browse report column selection screens (don’t worry, passwords were never exposed in this way). This prevents an issue where OData reports would crash if they mistakenly included a password column. #system 21.1.282 #328646
  • Fixed a super annoying issue where the screen would sometimes automatically scroll when interacting with dropdown fields 😡. Primarily, this was noticable when selecting a report on a Browse screen with large numbers of visible columns. #system 21.1.281 #327877
  • Fixed an issue where adding an additional storage table that included the name of its parent table would cause an issue. #system 21.1.280 #303945
  • Fixed issue where you could bulk import a reporting calculated column whose ID exceeded the maximum allowed length. #system 21.1.280 #308428
  • When exporting the AFE to ODW, the description is now trimmed to 50 characters. #integration #wellez 21.1.280 #325648
  • Fixed default placement of the monthly columns on the Field Cost Entry screen to directly left of the total column. #afe 21.1.280 #325711
  • Fixed an issue where changing a UWI from DLS to API would leave the old Lat/Long in place. #integration 21.1.280 #319947
  • Fixed an issue where UWI formatting was inconsistently applied when loading UWIs using a sychronization or data selection. #system 21.1.280 #323966
  • Fixed a typo (missing “>”) in the sample “Expense Forecast” widget. #plugins 21.1.278 #263772
  • Fixed wording of the AFE’s “Change Company” feature on the Partners tab. The title now lists the company’s name, instead of just repeating the word company twice. #afe 21.1.278 #267358
  • We fixed an issue where the new browse screen update feature (a.k.a. pencil mode) would fail when trying to set a dropdown list field to null (no value). #system 21.1.278 #292810
  • Resolved an issue where users could not set values for Additional Storage Table fields on records created after a new Storage Table was added but before restarting Execute. Upon upgrade, the system will fix records that are currently experiencing this suboptimal behavior. #system #admin 21.1.278 #304858
  • Resolved issue where the Due for Forecast filter was including projects it shouldn’t. Also added a “please wait” indicator when bulk accepting forecasts. #budget 21.1.278 #307384
  • Resolved an issue where Execute wasn’t closing temporary files correctly. This caused some unexpected (but harmless) errors to show up when restarting the service. #system 21.1.278 #307541
  • Resolved an issue when copying a database from Oracle to SQL Server where the Oracle database contained dates before 1753 (Yes… 1753…). These unusual dates occassionally snuck into the database through database scripts and imports, and would cause the upgrade to crash. #system 21.1.278 #307776
  • Fixed issues with the Due for Forecast filter’s identification of projects with new or updated actuals. #budget 21.1.278 #307941
  • We resolved an issue where deleting a user who had been delegated field cost entry would cause the service to fail to start. #afe 21.1.278 #307963
  • Resolved an issue where Execute’s startup data validation routines could occasionally run slowly enough to timeout. #system 21.1.278 #308330
  • Deleting a user now deletes all sessions associated with that user. #system #security 21.1.278 #310101
  • Added time zone configuration to our sample table_data_selector plugin. #plugins 21.1.278 #310187
  • Resolved an issue where an undeleted document wouldn’t be visible in the Browse screen until a service restart. #system 21.1.278 #310725
  • Fixed an issue with custom fields not showing when creating workflows on User and Partner documents. #workflow 21.1.278 #314180
Ready to update?
  • For Quorum-hosted Aucerna Execute environments, email an upgrade request to Execute Support.
  • For on-prem instances of Execute:
    • Always ensure you have a recent backup of your Execute database before updating.
    • Download the installer from the Client Portal.