"Stop Job" Activity Not working

Using a Stop Job activity in a work flow to stop the Job if an error occurs.
I am able to print the Process Name from the List to be stopped but the Stop Job activity is not working.

Under Tenant > gave the Robot role below permissions.
the Robot role needs to also have the Create and Edit rights on jobs, as well as View permissions on processes and environments.

And the same user account is assigned for job execution

Also referred below thread ,

How does it not work?

The Job is not stopping right after the activity but running till the end of the process.

If you want to stop the currently running Job, you use the Terminate activity. Stop Job is for stopping a different job - not the one that’s running.

Thanks for the clarification!

Already tested “Terminate workflow” activity. And it is working. Just wanted to know why the Stop Job isn’t working on the current running process.

Because that’s not what it’s for. It’s for stopping other jobs.

Does your process have a Should Stop activity? If you’re stopping (and not killing) the job, the stop signal is checked for only when the Should Stop is reached.

@SVC
To stop process you must use this activity:

As suggested by others, try to use terminate workflow activity,

Regarding “stop Job” . please go through the below link -

“Terminate workflow” activity will work to terminate the workflow. “Stop Job” activity is not working on the current workflow.

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