Stop job from Scheduler

HI,
I have used stop option from scheduler to stop job if it runs for more than 20 mins.
will “should Stop” activity will receive true signal in this case?

Yes. The Stop command sends the stop signal to the process. The difference between Stop and Kill is that Kill ends the process as soon as possible, regardless of what step it’s on. Stop sends a boolean signal that can be caught using the Should Stop activity. The process will behave as you have programmed it in the event that the stop signal is sent.

1 Like

@Nita_Kapse - Welcome to uipath community!

when you add Should Stop activity check - between iteration increments of rows/item and the process activity - flow like

  • New Iteration Item/jobid/row
  • Should Stop check
  • Process activity for the iteration Item/jobid/row
1 Like

I am using RE framework which already has should stop activity before getting transaction items.
but what will happen if stop my job after getting transaction items?
Will still 'Stop Transaction" activity fired?

I am using RE framework which already has should stop activity before getting transaction items.
but what will happen if stop my job after getting transaction items?
Will still 'Stop Transaction" activity fired?

Should Stop is only run when the process reaches that activity. In the case of the REFramework, this means the process will not stop until the current transaction is complete.