Hi @Yeliang Yang ,
Welcome to Microsoft Q&A platform and thanks for posting your question.
As I understand your query, you are trying to cancel a pipeline run which is invoking another pipeline , even when you are setting isRecursive as True, the child pipeline is not getting cancelled. Please let me know if my understanding is incorrect.
In what way , you are trying to cancel the pipeline, are you manually hitting cancel recursive option and facing this problem or are you invoking web activity to cancel the pipeline by sending a request via REST API as mentioned in this document: Pipeline Runs - Cancel
I tried to reproduce your scenario in both ways. However, I didn't face any problem.
One thing I would like to mention is cancel pipeline request will not work if the pipeline you are trying to cancel is getting executed via debug run . You need to trigger the pipeline which you want to cancel recursively.
Sharing the video for your reference:
1. When hitting cancel recursively manually:
2. When invoking Web activity to cancel the pipeline:
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators