Skip to main content
Nintex Community Menu Bar

so a specific task kill

  • May 3, 2021
  • 3 replies
  • 11 views
  • Translate

Hi everyone

In a case of fallback I want the robot to do a task kill.

But a specific one

For example: if I have 2 windows of chrome 1. with one system (specific name) and the other window with a different name

and the crash happens only on one window but the task kill does the kill for both.

can I do a specific task kill? for only one window and how??

thanks for the help

Did this topic help you find an answer to your question?

3 replies

Hi Daniellich

 

create a recorded new step. And in fall back step point to this step.

 

And here you can press ALT+F4 to close that session.

 

As a best practice I would never recommend to launch two different instances of chrome for automation. Better to work with one single instance.

Translate

perhaps use dos cmd n call "run program" to kill that particular chrome window, btw both having have window handle ID? in kryon when u obtain it?

Translate

This is a good approach and I agree. Just be mindful: You need to be sure the window you want to close is actually "in focus" 😉 Alternatively, you can record a step with the correct window handle (as mentioned above), then use the advanced command to get the window handle and then use the "control state" advanced command to close it. In some instances this may be safer.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings