# Unifi 4.5 Release Notes

{% hint style="danger" %}
If you are using Advanced Datasets with query scripts and are upgrading from a version prior to 4.4, please be sure to read our[ Advanced Dataset Upgrade guide](https://docs.sharelogic.com/unifi/install/advanced-dataset-upgrade).
{% endhint %}

## Highlights

Unifi 4.5 marks the ServiceNow Australia release and includes a number of new features and fixes.

{% hint style="danger" %}
**Important note before upgrading to the Australia release**

While Unifi 4.5 is certified for ServiceNow Yokohama, Zurich, and Australia, we discovered during testing that ServiceNow’s internal `GlideSysAttachment` API is currently broken on the Australia release (at least to  patch 1).

This means inbound attachments will not work for any Scripted REST APIs that rely on `GlideSysAttachment.writeContentStream()` until ServiceNow releases a new patch.

ServiceNow are aware and we are closely monitoring the situation and will provide more information as soon as we have more details.
{% endhint %}

## New Features & Improvements

#### UN-1170 Clean up scheduled script to remove snapshots

Added a new on demand Scheduled Script `[Unifi] Cleanup Snapshots` that will clean up all old snapshots.

Bonds created prior to version 3.1.2 would not remove Snapshots during Bond cleanup. Execute this job to force this cleanup and reduce the Snapshot table size.

This job is configured to have minimum performance impact. It will run progressively until all data has been cleaned using only one background worker event processor at a time.

#### UN-1572 Package deleted records to update set

Deleted integration records are now added to packaged update sets.

#### UN-1666 Standardise application file sys\_created\_by and sys\_updated\_by values

Application files have been updated to show ‘sharelogic’ in the updated and created by fields.

#### UN-1691 Improve filtering on Operations Manager portal view of recent transactions

Operations Manager now excludes Heartbeat messages from the Transaction list. The initial load displays the 50 most recent transactions (previously 20). The Live Transactions and Live Bonds headings now provide quick access to the full list views for Transactions and Bonds.

#### UN-1694 Show all transform histories linked to datasets

Import set data can easily be accessed with a new module under datasets called Dataset Imports. This shows the import history of all datasets.

#### UN-1700 Remove populating work notes in Field Map templates

The template Choice and Reference Field Maps no longer write values to the work notes if mapping is not completed.

#### UN-1701 Add the option to prevent workflow from running on a message during inbound processing

Added a new option “Disable workflow” to Messages to allow prevent workflow and business rules from running during Stage to Target execution.

#### UN-1707 Add better status messages to Dataset Imports which are prevented from running

Specific reasons that prevent a dataset request import from running are now provided in the Dataset Request status. e.g. Inactive integration or inactive dataset.

## Fixes

#### UN-1563 Copying Messages doesn't copy Field Maps

Copying a message from another integration will ensure field map integrity. Field maps of the same name in the target integration will be used where possible.

#### UN-1650 Scripted transform map fields are being deleted during build

Modified the import set coalesce field update mechanism to preserve coalesce fields that have been changed to scripted.

#### UN-1662 Message reference qualifiers on datasets do not restrict to the current integration

Only process and send messages that are active and are linked to the current integration are selectable on the dataset.

#### UN-1667 Datasets are not captured in Update Sets

Datasets are now captured in update sets.

#### UN-1674 Dataset imports will work even if the Dataset is disabled

Datasets are checked for valid integrations and for being active before processing inbound data. Exporting data from an inactive dataset is a user choice, whether it is active or not.

#### UN-1680 Moved attachments are not sent via Unifi

Modified the attachment update rule to allow attachments which are moved from one record to another to be integrated.

#### UN-1690 Coalesce column is created with double u\_ prefix

The double ‘u\_’ prefix is removed for transform map fields.

#### UN-1692 Fix missing Bond for Dataset button works, but says that it failed

Fixed a bug with the test to ensure the fix has worked.

#### UN-1693 Attachment payload in REST Resource template is invalid JSON

Attachment template JSON has now been corrected and is valid.

#### UN-1697 Mass record updates can cause high memory usage

A performance improvement has been introduced to reduce the amount of memory used by Unifi during updates to large numbers of records on integrated tables.

#### UN-1699 Orphaned field labels are included in the application scope

Removed several orphaned field labels. Due to scoped application mechanics, these will not be removed for existing customers. If you would like to delete these manually, please navigate to /sys\_documentation\_list.do?sysparm\_query=sys\_scope%3D74f0b4550f8ca20094f3c09ce1050e6a%5EnameSTARTSWITHu\_

#### UN-1705 String.trim is no longer supported with Australia release

Replaced calls to `String.trim` with `String.prototype.trim`.

#### UN-1706 ServiceNow UX Analytics is showing buttons on portals which get in the way in Australia release

Hid the UX Analytics button in Unifi portals.
