How to get pass through condition to throw an error?

I have an error message that is triggered to true when a field is empty. The next step is a pass through condition and user cannot pass if the error message is “true”. The workflow is stopped.

How do I trigger “on error” when the passthrough condition is not met so that I can set the error message back to false after 3 seconds, so that the banner is not displayed anymore?

I hope I make sense. Right now when the workflow is stopped, the error banner gets shown permanently.

I can use a true false I guess, just hoping for a more elegant solution…

If you wish to execute code in both condition, best is probably to use a if block instead of a pass through.
Your normal workflow will be in the false branch, and your error handling on the true one.