How to direct d site to d currnt position using repeat step?????
2 posters
How to direct d site to d currnt position using repeat step?????:confused:
JK- Posts : 1
Points : 3923
Join date : 2013-08-14
Shyam Kumar- Ranks
- Posts : 113
Points : 4153
Join date : 2013-07-05
Location : Kerala, India
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,
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.
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.
|
|