Stop process as soon as it reaches an enabled/clickable checkbox

hello everyone,

I need help with an automation. The job is the following - I wanted to use the checked/unchecked activity and go row by row (maybe with a while or a for each activity). Some of the checkboxes are disabled and these should be skipped and the bot should move to the next one until it reaches an enabled checkbox and checks it, then I want the bot to stop the process of checking and move on to the next activities.
image
this is an example, as you can see by the image the first 3 checkboxes are disabled, and the fourth one is the one that needs to be clicked, but this can change since in some scenarios for example the first one is enabled and the rest are disabled, which is why I want the process to stop as soon as it reaches an enabled checkbox.

thank you for your time, let me know if there are any other questions that would help in clarifying this process.

@Dea_Pahumi,

If this is HTML page element, it would have isenabled or some property/class by which you can identify if the checkbox is enabled or not.

Thanks,
Ashok :slight_smile:

@Dea_Pahumi

Easier would be to use for eqch ui element …and in for each ui element indicate the enabled ones and check if it detects only enabled check boxes if not we can tweak selector for that…

Or can use a get attribute and check using if condition and when enabled is found click and break

Cheers