Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Event handler for loop over task.#2883

Merged
apanicker-nflx merged 2 commits intoNetflix:mainfrom
manan164:event_handler_for_loopover
Mar 30, 2022
Merged

Event handler for loop over task.#2883
apanicker-nflx merged 2 commits intoNetflix:mainfrom
manan164:event_handler_for_loopover

Conversation

@manan164
Copy link
Contributor

Pull Request type

  • Bugfix

Changes in this PR

Whenever the tasks are being retrieved for the event handler, the loop over tasks does not come since they are being appended by iteration value. This change enables performing an action on loop over task using an event handler.

Describe the new behavior from this PR, and why it's needed
Issue #2873

.equals(taskRefName))
.collect(Collectors.toList());
if (!loopOverTaskList.isEmpty()) {
// Find loopover task with the highest iteration value
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assumption here is loop over task with the highest iteration only will be waiting for an event. Since older iteration gets completed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants