I am trying to add notifications through Prefect2 Cloud UI.
1. What is the difference between
Cancelled
and
Cancelling
states?
2. What is
Notify type
in the notification settings? (screenshot below).
j
James Sopkin
01/10/2023, 3:25 PM
Hi @Nikhil Jain , the difference between cancelling and cancelled is that the first is in the process of cancelling whereas the other is cancelled
n
Nikhil Jain
01/10/2023, 6:48 PM
Thanks @James Sopkin . I tried cancelling some flow runs yesterday. They are all stuck in “cancelling” state and never moved to “cancelled”. I realzed that my prefect-agent wasn’t running that that time, could that be the reason why it’s stuck in cancelling?
Also, do you know the answer to the second question?
j
James Sopkin
01/10/2023, 7:04 PM
@Nikhil Jain It's possible. The flow will have a cancelling state if a task is still in a pending state
For the second question, I believe that it will change the image that appears with the notification