BOT Stoppign without reason

Hello team, as shown in the screenshot below, I set the BOT to execute at 02:00 PM. However, it consistently stops without generating any errors.

@omar_ismail ,

As shown in the snap you shared there seems to be a validation error, please analyse your workflow.

Clear the validation error and then try running your code.

What’s written there?

image


removed however still doing the same

@Julian_Muhlbauer That is just saying they recommend putting Use Excel inside Excel Process Scope. It’s just a recommendation and will not prevent the automation from running.

Your screenshots show that you are running the automation in Studio (which you should only be doing for testing) and that you are running it in Debug with a breakpoint on the activity. It’s supposed to stop at a breakpoint when running in Debug, which is literally the point of a breakpoint. Just press the continue button at the top of the Studio window.

i didn’t add a beakpoint

Have you looked in the Breakpoints panel? Are you running in Debug? Is the Continue button available at the top? Did you right-click and select run to/from this activity? Why are you running it in Studio in the first place (that’s only for testing/development)?

Oh.alright.!
I was under the impression with validation errors we won’t be able to run the code.

You won’t be able to run it if there are validation errors. That’s different than runtime errors. What validation errors are you getting?

No , Generally am telling. Also I feel i have seen it happen too next time i will shoot a dm with the sample itself.

I just had a situation where a Debug stopped on an exception and I clicked the Ignore button so it would continue.

image

Looks exactly the same as what you’re seeing.

Again, are you using Debug to run it?

yes i am working on a debug however i got another BOTs working in debug and i didn’t face the same issue with them. the continue button is available.

Debug is supposed to stop for various reasons. That’s one of its main purposes. Just click Continue.

the thing is i placed the BOT inside a while loop then added an if activity for the time so the BOT can run while i am not around

Then don’t use Debug, use Run.

Also, opening it in Studio and running it isn’t the correct way to run an automation if you want it to run without you. Studio is for development and testing. You should be publishing it to Orchestrator and running it unattended.