This is the body of email I created using widget to select properties but system won’t validate my email
Dear <<.BalanceTransferAccount.FirstName>> <<.BalanceTransferAccount.LastName>> ,
We have approved your balance transfer request.
Balance transfer amount: <<.TotalCostOfTransfer>>
Please note the following terms for your balance transfer:
Interest rate during the promotional period: <<.TransferOffer.InterestRate>>
Duration of promotional period: <<.TransferOffer.LengthOfOffer>>
Interest rate on remaining balance after your promotional rate expires <<.TransferOffer.APRAfterPromotionalPeriod>>
Please review your account terms and conditions for important information about how we apply payments if you maintain a balance due to other card activity.
Thank you for banking with U-Plus.
@GRAINPWELLS
This is a GenAI-powered tool. All generated answers require validation against the provided references.
The issue appears to be with the format of the property references in your email template. I noticed you’re using the format <<.PropertyName>> (for example, <<.BalanceTransferAccount.FirstName>>), but this isn’t the standard format that Pega expects for property references in email templates.
Here are a few suggestions to fix the validation issue:
- Use the correct property reference format:
The standard format for property references in Pega email templates is simply .PropertyName (with a period prefix). For example, instead of <<.BalanceTransferAccount.FirstName>>, you should use .BalanceTransferAccount.FirstName.
- Use the Insert Property button correctly:
When using the widget to select properties, make sure you’re using the “Insert Property” button (usually represented by an icon) to add properties to your template. This ensures that properties are inserted with the correct format and proper validation.
- Check property initialization:
Ensure that all the properties referenced in your email template are properly initialized with valid values before validation. Uninitialized properties can cause validation errors.
- Review the template format:
Make sure there are no extra spaces or special characters in your property references that might be causing validation issues.
Here’s how your email template might look with the correct property reference format:
Dear .BalanceTransferAccount.FirstName .BalanceTransferAccount.LastName,
We have approved your balance transfer request. Balance transfer amount: .TotalCostOfTransfer
Please note the following terms for your balance transfer:
Interest rate during the promotional period: .TransferOffer.InterestRate
Duration of promotional period: .TransferOffer.LengthOfOffer
Interest rate on remaining balance after your promotional rate expires: .TransferOffer.APRAfterPromotionalPeriod
Please review your account terms and conditions for important information about how we apply payments if you maintain a balance due to other card activity.
Thank you for banking with U-Plus.
References:
Configuring email treatments
How to use a property as an email address in Send Email