How to Wait until .bat exection complete

I am executing .bat file of python, through which one folder gets created in project directory, but before creating folder (through) .bat file, next activity starts to execute which uses folder path created by .bat file, but since without waiting .bat file to complete its execution next activity gets run, it is showing error. I cannot use delay activity because, .bat file also makes DB entry, based on its logic.

I m running .bat file using “start process” activity.

How about set Sync at ExecutionType property as the following?

Regards,

Thank you @Yoichi , But I was not able to find “Options” in properties.

image

Hi,

Can you share what version of UiPath.UiAutoamtion.Activites package you use? And can you try to upgrade it to the latest (or higher) version?

Regards,

updating package worked for me.
Thank you @Yoichi

Regards,
Akash

1 Like

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