I am trying to add notifications through Prefect2 ...
# ask-community
n
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
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
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
@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