conductor icon indicating copy to clipboard operation
conductor copied to clipboard

[Feature]: Support for keepLastN in DO_WHILE Task

Open sriharimalagi opened this issue 1 year ago • 1 comments

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.

sriharimalagi avatar Apr 16 '24 11:04 sriharimalagi

Assigned to @bradyyie as an enhancement for an upcoming release.

jeffbulltech avatar Feb 27 '25 00:02 jeffbulltech