"Week" date parameter in a dynamic content filter results in an error
Last updated 2022-03-01 ·Reference W-10378065 ·Reported By 0 users
If we create a dynamic block with a date-based rule using 'week' option and then used the Dynamic block in an email then if we preview and test, the email throws an error:
The date part for a DateAdd function call is invalid. The value is not one of accepted values for this parameter. Function Call: DateAdd(Now(), -1, "W") Date Part Parameter Value: W Accepted Values (Case Insensitive): y, m, d, h, mi
This error will also prevent an email from being successfully sent if the dynamic content rule is used.
1. Create a dynamic block with a date-based rule. Example: "Date field" - "Is After" - "today+" - "[1..9]" weeks
2. Create an email and use this block.
3. Go to preview and test and select the DE that contains the Date field used in the dynamic block created in step 1.
Use a date parameter other than 'Week' to complete dynamic content rules.
Reported By (0)
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.