You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello @sfmskywalker,
I attempted to perform retention by defining the run interval for cleanup using the SweepInterval property, as shown below. My understanding is that all finished workflow instances should be deleted at the defined run interval (in this case, every 2 minutes).
However, the instances are not being deleted. Please let me know if my understanding is correct. I have also attached a project with reproduction steps for reference.
Description
The Elsa Retention Module - job has not been scheduled according to the
SweepInterval
property configuration.Steps to Reproduce
Configured the SweepInterval property as below:
Run the Workflow.
Retention should be scheduled according to
SweepInterval
configured for every 5 hours. But it is happening every 1 minute.Attachments:
Attached the sample project to use for the reproduce this issue.
Elsa330RC5.zip
Reproduction Rate: Every time
Video/Screenshots:
Last Job scheduled is at 30/12/2024 12:15:44PM UTC format.
The next sweep interval triggered is at 30/12/2024 12:17:48PM
Expected Behavior
SweepInterval should be scheduled the job every 5 hours as configured below
r.SweepInterval = TimeSpan.FromHours(5);
Actual Behavior
SweepInterval scheduled a job every minute.
Environment
Troubleshooting Attempts
Additional Context
Whatever the configuration made SweepInterval, but the retention SweepInterval scheduled a job for a minute.
Related Issues
#6194
The text was updated successfully, but these errors were encountered: