Stop Job Activity not stopping the flow


Am trying to stop a job in the orchestrator, this job is the same as the file am running… The workflow is executing the stop job activity, but looks like it is executing activities even after that… not sure why it is happening…

Attaching the workflow.Main.xaml (6.2 KB)

To explain more… i dont want the bot to execute the Hello log stmt…

Any help would be appreciated!

you are stopping the other jobs after getting list of jobs but not this one which have stop job.

1 Like

@Sreelatha278 Thanks for the quick response…
How do we stop this job?

Use Should Stop Activity to check whether you got the signal or not. Based on that do the logic over there and use another process to stop this job.

For better example the REFramework

Use terminate workflow activity

should stop i tried… it is sending false … @kuppu_samy

@Sreelatha278 terminate workflow asks for Exception… Not sure how to put that?

Is that Should Stop activity works from Orchestrator based on your workflow? @hss

you can enter either exception or reason.

Enter a reason(string) to terminate flow.

@kuppu_samy not sure… attaching the workflow and output screenshot
Main.xaml (6.7 KB)


Can you tell me your goal? Do you want to stop the current process? @hss

@kuppu_samy yes. I want to stop this current process running in the orchestrator

@Sreelatha278 It is not working…
Main.xaml (6.4 KB)

When i upload this package to the orchestrator and run the job… ideally it shd terminate…but its executing statements even after the terminate workflow activity

@hss try this one Main.xaml (6.8 KB)

@kuppu_samy i changed the while loop to 10… and the output is as shown in screenshot

Let me check @hss

@Sreelatha278 Thanks. Terminate workflow worked… attaching the workflow for reference.
Main.xaml (6.4 KB)


Also Thanks @kuppu_samy for your responses… do message if you have any other solution

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