Multiple times message triggering

Hello Everyone,

I want to trigger a node a specified number of times with the help of function node.
Please give me solution for that.
Thank you.

Can you be specific please?

What node do you need to trigger? It may be there is some other means of achieving your goal if you explain what the end goal is.

How many times - variable amount of times - or - a fixed amount of times?

Why do you say you need the help of a function node?

Please give us what you have tried and I'm certain someone will help you out.

I am triggering one buffer node with the help of function node.
But I want to trigger that buffer multiple times( Variable amount of times) with the help of function node.
If any other method is there for triggering variable amount of times(Not manually), Please suggest.

Are you referring to this buffer?
you really should be specific - it is soo hard to help when so little information is provided.

No screen shots. No links. Please help us to help you.

You can set an inject to repeat output.

You can use a trigger node "resend every" until msg.reset is received

You can write a for loop in a function and use msg.send

Most (if not all) of this is in the very good documentation & tons of examples in the flow library that might help.

A good idea might be to attempt one of the above options and when you get stuck, come back & ask for help on a specific item if you get stuck.

How can I use for loop in function node for multiple triggering.
Can you send me some sample code.

Do you know any javascript? Its just a for loop.

//loop 10 times
for(let i = 0; i < 10; i++){
  //do something here e.g. node.send(msg)

And for node.send - it is in the documentation - please also read this page & learn it - it will help you greatly.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.