Hello @Mohsen Akhavan ,
Thanks for the ask and using the Microsoft Q&A platform .
As I understand at this time you have couple of options .
Use Azure databricks activity : Since you are using Python , you can use ADB activity which will call a notebook and you can run you python script . This should work .
Use custom activity : You can use a custom activity and run the azure batch in the back ground . Please read about the same here .
Please do let me know how it goes .
Thanks
Himanshu
Please do consider clicking on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members