Why the body of sequence is running for one time, even if the repeat statement is used in it?

In reply to MayurKubavat:

thank you for your reply.

I found the error. actually there was connection problem in my code, in agent block, so the code was not running.