Hi Giby Mary Babu,
Instead of comparing the key values, you can change your logic like this. It will resolve your issue I think.
Final output :
I hope, It will help you.
Thanks and regards,
It looks like you're using getKey but in the constraint referring to the caption of the enum. The key is not allowed to have spaces. Please check your enum key values and update the dynamic class constraint. I.e. probably ‘In_Progress'