The information detailed on this page refers to updates included in the following releases to the Patchworks Production environment:
Patchworks core (backend)
1.16.0
1st May 2024
Patchworks dashboard (frontend)
1.13.0
1st May 2024
New features, updates, and enhancements of note are summarised by product area, below:
Custom script selection
CPT-2733
Event connectors (BETA)
Event connectors can now be used to trigger process flows by listening for events that are published to message queues/topics by a message broker (e.g. RabbitMQ).
CPT-1668
CPT-2121
CPT-2800 CPT-2799
Dynamic dates now use flow run time
Some process flow steps (connectors, filters, set variables, transforms, etc.) can be configured to use dynamic/relative dates, where the date is relative to the time the process flow is initialised.
With the recent introduction of queues for process flow runs, all process flows are added to a queue when they are initialised (either by a defined trigger, or a manual run). This means that the time a flow is initialised is not the same as the time the flow actually runs - sometimes the run will be almost instant, but in busier periods there may be some minutes between starting and running a flow.
To prevent cases where records are missed because they were added between the time a flow was started and the time it actually ran, a new Use queued time process flow setting has been introduced. This allows you to choose whether any relative dates should be based on the time that the process flow is initialised or the time it is queued.
CPT-2455
Transform functions - null values The default behaviour for transform functions has changed so that by default, if they are given null, they return null. Exceptions to this are:
Custom Dynamic Date. Returns the custom dynamic date set in the transform function.
Custom Static Date. Returns the custom static date set in the transform function.
Date Now. Returns the date now as the transform is run.
Custom Number. Returns the custom number set in the transform function.
Custom Boolean. Returns the custom boolean set in the transform function.
Fallback. Returns the custom fallback value set in the transform function.
Custom String. Returns the custom string set in the transform function.
Null Value. Returns null.
CPT-2773
Process flow version update dates
CPT-2603
SSH2 Extension
CPT-2777
Enforced MFA at company level If any company that a user is related to has MFA enabled, the user may not disable MFA. In this scenario, the Disable MFA option cannot be selected - instead, the user will see a message advising that MFA is enforced by their company.
CPT-2027
Fixed issue where selecting a script in the scripts section of the marketplace could cause the page to become unresponsive.
Event connectors can be accessed using a new Event connectors option in the left-hand navigation menu. Once configured, these connectors can be selected as Event listeners in process flow trigger shapes.
Import & export map shape configuration It's now possible to export the the configuration of one map shape (including all field mappings and transformations), and then import that configuration into other map shapes. Exported configurations can be imported into map shapes within the same process flow, within different process flows for the same company profile, and within process flows for any linked company profiles.
Payload metadata size restriction A size restriction of 10240 bytes has been introduced for payload metadata. Exceeding this limit will cause the process flow to fail on the associated step.
The Use queued time option defaults to false
on all existing process flows, and defaults to true
for all new process flows.
Fixed issue where the updated
date for process flow versions was not incremented when changes to the flow were saved.
The SSH2 library is now available when working with PHP scripts.