Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Expiration date of Special condition is not deleted
Expiration date of Special condition is not deleted
ID: 547046
Backlog
Published on 3/21/2022
Last update on 11/25/2022

Summary

When the client configures a Special Condition for a period of time and wants to delete this configuration, only the period is deleted, the recurrence of this configuration is not deleted. This means that even if the Payment Condition scheduling configuration is removed, the dateIntervals field still continues to index and stops indexing the Payment Rule.

Simulation

  1. Set up a new Payment Condition and add the Expiration date and Recurrence from Special Condition.
  2. Use the Get Rules by Id endpoint to see the fields beginDate, endDate and dateIntervals. They both are filled.
  3. Then, delete the Expiration date and Recurrence from Special Condition configuration.
  4. Use the Get Rules by Id endpoint to see the fields beginDate, endDate and dateIntervals. The field dateIntervals will still be filled with the information previously deleted.

Workaround

A possible workaround would be duplicate the Payment Condition, so the new rule will not have the dateIntervals setup. So the first Payment Condition can be deleted.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback