How to find an exception, update in excel that an error has occurred and then run the flow again from top

I have created a flow using for each excel row activity.
If my flow is unable to locate a selector for one activity (I have one specific activity) I want it to update the same on my excel row.
Then ignore all the later actions and start from top for next row. Please advise how can it be done.



You can put the Selector activity inside a Try and in Catches, you assign to failed variable (boolean type). Then put a IF activity to check if you have problem with you selector. In negative case, you continue the workflow normally. Otherwise, in ELSE branch, you update your row