Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for keepLastN in DO_WHILE Task #135

Open
sriharimalagi opened this issue Apr 16, 2024 Discussed in #134 · 0 comments
Open

Support for keepLastN in DO_WHILE Task #135

sriharimalagi opened this issue Apr 16, 2024 Discussed in #134 · 0 comments

Comments

@sriharimalagi
Copy link

sriharimalagi commented Apr 16, 2024

Discussed in https://github.com/orgs/conductor-oss/discussions/134

Originally posted by sriharimalagi April 16, 2024
Problem statement:

  • We are running DO_WHILE tasks for large number of iterations (>1000). When each DO_WHILE task iteration is completed, the output is stored into the Task.outputData.
  • Since the results after each iteration is appended, the Task Output Max Threshold limit is breached, causing the workflow to get terminated.
  • We would like to apply a solution such that previously executed iterations' output can be discarded.

Analysis:

  • Upon reviewing the DO_WHILE task documentation, I have identified a property named keepLastN which is currently not supported in the open source code.
  • Leveraging this logic for our DO_WHILE task would be beneficial. I am prepared to initiate a pull request for its implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant