fix: Exception handled for multiple entries found for task invalidati… #6444
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…on history while validating a task
What type of PR is this? (check all applicable)
Related Issue
Handles #6320
Describe this PR
Handles #6320 issue of not being able to validate a task because of the multiple open entries being created task invalidation history table by introducing exception handling for multiple open entries found closing the duplicate entries and recursively calling itself until one open entry is left.
Screenshots
Previously:
Handled Exception:
Review Guide
Need to create two or more open entries in the task invalidation history table (Entry in this table means that the task was previously invalidated)and try to validate the task.