Need to put shown condition in Button

Hi All,

I'm having a button "COMPLETE"

i want to put a shown condition on it in the following basis


I'm having an array {"Completed","Not Completed"},

If both the values in that array are in completed status then only i want to show that button.

Could you please help me with the logic.

Thanks

  Discussion posts and replies are publicly visible