Hi, I am trying to get a Seperator to determine the process time so that the queue content will be cleared in an average of 1000 seconds. I've tried to set the process time = 1000/ current.inObjects[1].stats.input.value, so that the total process time is 1000 seconds regardless of the batch size. This works fine for the first batch, however as the next batches arrives the input value of the current.inObject increases respectively, which again reduces the total process time for each batch.
So is there a better way to do this? I want the seperator to use an average of 1000 seconds on each batch regardless of the batch size. I figured that resetting the input stats on the current.inObject after each batch might work, but i dont know how to do that. In addition, the input stats might be of interest later on, so resetting stats might not be the best solution.
Thank you!