Click is not working when the workflow is triggered next time inside a for loop

Hi All

I have a workflow inside a for loop. In the workflow every time it needs to click on an element. But the bot is clicking on that element in the first iteration only and then performing subsequent actions in it. But from the next iteration onwards it doesn’t click on that element.

When the workflow was not created and everything was inside a single workflow the click was happening properly inside the for loop for each iterations.

@kkp

Check IS the element is changing when the next loop runs, Also if you are using any dynamic selector then validate that too

Hope this helps

Thanks

No that element is not changing. And also i am not using any dynamic selector. As i said with the same element and selector it used to work when everything was inside one workflow. Why is it creating issue after creating different workflow ?

For the repetitive part after clicking that element i have created the separate workflow and placed inside the for loop.

@kkp

OK, you can try by giving few delay before, also try to debug and go step into to get the issue

Hope this may helps you

Thanks

I debugged and ran by clicking Step Into. Thing is its just passing the click activity without clicking and without throwing any error to the next activity.

And in the next activity its throwing error as its not getting the required element due to the above issue.

So I am clueless why its happening like this ?

@kkp

IF that is the suspect then you can make the activity properties -> ContinueonError to “False” This will get you know that is it failing because of that activitiy

Hope this helps

Thanks

Its by default False only. And thing is its not clicking in the Click activity and passing to the next activity.
My question is why the click activity is not clicking on the specified element?

@kkp

Can you share the selector and the element screen?

Also for share me the Click activity properties too

Thanks

I am facing the same issue, any resolution yet?