KAPOW

Would you like to react to this message? Create an account in a few clicks or log in to continue.
KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


2 posters

    How to direct d site to d currnt position using repeat step?????:confused:

    avatar
    JK


    Posts : 1
    Points : 3923
    Join date : 2013-08-14

    How to direct d site to d currnt position using repeat step?????:confused:  Empty How to direct d site to d currnt position using repeat step?????:confused:

    Post by JK Wed Aug 28, 2013 4:13 pm

    How to direct d site to d currnt position using repeat step?????confused
    Shyam Kumar
    Shyam Kumar
    Ranks


    Posts : 113
    Points : 4153
    Join date : 2013-07-05
    Location : Kerala, India

    How to direct d site to d currnt position using repeat step?????:confused:  Empty Re: How to direct d site to d currnt position using repeat step?????:confused:

    Post by Shyam Kumar Thu Aug 29, 2013 11:04 am

    Repeat action work together with the Next action. With out next action repeat step will not work. The Repeat action marks the start of the repeat loop. In a subsequent step, another iteration of the loop can be requested using a Next action. You should place a Repeat step followed at some point by a Next step. In each iteration of the repeat loop, another iteration can be requested using the Next action.

        We can give a purticular value or a current location in repeat step using your logic, I will give one solution,

        After repeat action step, add a new step for geting the repeat value,(Get Iteration action in loop tag), and map the variable. We can use an available variable in database, after that add new "Test Variables" action step. Before it you should add a Query Database action step in frond of the repeat action step, and use this a query same like,


    Code:
    select count(variable_name) as variable_name1 from database_name.table_name where(conditions)

    Then give column to variable mapping for a purticular variable. Then test the variable
    ">="
    to mapped varibale, and set error handling give the nearest iteration.


    Working Process:

        First execute the query and get the count of the variable_name, after Test Variables action execute and repect iteratin automatically chainged based on our conditins. Here the Query Database action execute first time only.

                                               
                                                                  ............It will work.

      Current date/time is Wed May 08, 2024 2:08 pm