I am trying to Randomize a wait into a Loop that I have. After the Table Row to Variable Loop Start, I have the Wait… Node. I am trying to randomize the wait from say, 2 seconds to 30 seconds. I have tried Random Number generator and do table column to variable but I cannot seem to get it to work for me.
Is this the right way to go about it?
Any ideas? Am I needing to loop just the Wait node too?
Thanks.
Hi @mr2mike
I was thinking of something like this randomize_wait_in_loop.knwf (51.8 KB).
Does this works for you?
gr. Hans
Thanks. Didn’t think of the shuffle node. I can’t seem to get this implemented into my workflow.
Keep getting this error:
“Unable to merge flow object stacks: Conflicting FlowObjects: <Loop Context (Head 5:176, Tail unassigned)> - iteration 0 vs. <Loop Context (Head 5:86, Tail unassigned)> - iteration 0 (loops/scopes not properly nested?)”
I am placing the Wait variable into any node on existing work. Then putting Loop End at the very end so I have two Loop End nodes side by side. Is this not correct?
Do I need the String Manipulation or Constant Value node like you’re showing? I didn’t think so.
Hi @mr2mike
Tnx for the feedback .Too bad that this idea doesn’t contribute to the answer to your question.
The String Manipulation and Constant Value nodes are meant to demonstrate that this workflow works (but it’s not the answer to your question), and they are probably unnecessary in your workflow.
It’s quite challenging for me to translate the KNIME flow described in words into its visual representation. It would be helpful for me, and I believe many other forum visitors, if you could also upload (a part of) the workflow. Right now, I’m missing information to create a working solution.
A shot in the dark: The error message seems to indicate that there are multiple loops in your workflow. Perhaps they are not nested in a logical way."
gr. Hans
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.