The delivery registration process has changed in version 8.0 of the system. This has changed how previously created triggers operate. In version 7.0, triggers were executed by a change in order status. When it was changed, the order already contained a tracking number, which was sent via email or SMS. Now, previously created triggers do not transfer information about the tracking number, resulting in empty emails and SMS notifications being sent to customers.
To fix this, your old triggers need to be edited. For example, if, in the trigger conditions, the order status transition is checked:
changeSet.hasChangedField("status") and changeSet.getNewValue("status").getCode() == "send-to-delivery"
We recommend replacing this condition with a check for the appearance of tracking number in the order:
changeSet.hasChangedField("integration_delivery_data.track_number") and order.integrationDeliveryData.trackNumber != null
If you encounter difficulties or questions when making changes to triggers, please contact the technical support team via email firstname.lastname@example.org.