First of all the Robot.Js SDK is great. Everything works and we have super nice frontends now.
But there is currently one downside with that new feature.
If the Robot is already running a process. And you start a new process in the browser, you get the message “Can only start one forground process”. Ok no problem.
But the Robot.Js does not allow me to check if there is already a process running.
So how to precheck and maybe disable the button if there is a foreground process running? So the user of the frontend cannot do something bad.
Already had a closer look here, but that does only show how to start a process SDK Specifications