Pega 8.8 Constellation Attachment widget

Hi , We are using Pega 8.8 Constellation Attachment widget and would like to have option to show custom error message after submitting the attachment. All the rules are final and there is no option to set custom error message. Please let me know if there any option to override this behaviour.Refer Data-WorkAttach-File-Temp ID:pzUploadAndSaveFile RS : Pega-ProcessEngine:08-05-01 Step 20 error messages are added using new automation utility com.pega.platform.integrationengine.automation.AutomationUtils.addAutomationError using fieldvalues in constellation.

@DPR

The attachment widget is for ad-hoc attachments. If there is something more specific needing custom validations, please use an attachment field in the data model which allows you to build a more guided attachment experience.

@DPR

Widget Behavior and Limitations:

The Constellation Attachment widget is primarily designed for ad-hoc attachments, allowing users to upload files without extensive validation.

Unfortunately, out-of-the-box, there isn’t a direct option to set custom error messages specifically for this widget.

Alternative Approach:

Since the widget’s rules are final and customization options are limited, consider an alternative approach:

Use an Attachment Field in the Data Model:

Instead of relying solely on the Constellation Attachment widget, create a custom attachment field in your data model.

This custom field allows you to build a more guided attachment experience with additional validations and custom error messages.

You can define your own logic for error handling and display relevant messages based on business rules.