Ui path Bot says Execution is completed but bot is still running

Hi Team,
I am facing some issue with Uipath,once I run the workflow it says as Execution ended but Bot will be still running until I go and stop it. Help me with this how to resolve it.
Please see the attachment for clear picture.


Steps to reproduce:

Current Behavior: Bot is completed its running but it is not stopped even though it says as Execution Ended

Expected Behavior:Bot Should stop

Studio/Robot/Orchestrator Version:2018.1

Last stable behavior:From 3 daya
Last stable version:From 3 days
OS Version:Windows10
Others if Relevant: (workflow, logs, .net version, service pack, etc):

After processing all the activities,is it jumping to End Process state (have you defined condition to jump to End Process?).
Refer Robotic Enterprise Framework for how state transitions happens.

Karthik Byggari

Hi Karthik,

Thanks for your quick response, I am not using reframe work/Statemachine here.
But the Bot is performing its actions as expected and only issue is it is not stopping even though it says as Execution ended.



May be check this thread for the similar issue. As the thread it is because of some arguments (IN/OUT).

Karthik Byggari

Hi Karthik,

Yes it is a similar issue but there is no solution in that thread and the only solution they have given is change the argument directions but I don’t want to do that as that is my requiremnet.
Also that thread is closed by @loginerror. Will tag him in this thread as well.

Harinath Reddy

@harinred If you print more values using writeline, Bot will be stucked for stopping the bot you have to task manager. Better print values which are more important only and make sure number of times writeline execute is less otherwise you end up facing same issue again.