How to TryCatch System.FormatException for Assign: String date format

I have tried the below TryCatch but it still gives me the same error

Hi,

If you want not to stop workflow when exception occurs in debug mode, can you try to turn on Continue on Exception in ribbon menu as the following? (Or just Run (not debug))

Regards,

With the suggestion, the RuntimeExecutionError pop-up displays. Will this still occur when the unattended bot runs?

@Nyx
System exception handles all type of exceptions. You are running in debug mode thats why it stopped on exception. If you want to run it without stopping then run it on Run mode.
When you will schedule it from orchestrator it will run on “Run” Mode

It’s supposed to still give you the error. But it will jump to the Catch block after the error. I assume you’re running in Debug mode, so press the Continue button when it stops on the error.

@Nyx

If you use a try catch then in unattedned the exception will be caught and will be auppressed in the sense it will not throw any error

Wven when you run from studio you just need to click on continue and it continues without error

Also exception.message will give the exception message

Cheers

Hi,

Pop-up won’t be displayed. But the workflow will be terminated by the exception.
Can you check if there is wrong logic/expression outside Try block?

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.