Closing all task manually before moving to another state

asasas
Kilo Contributor

In change request i have following

I have IMPLEMENT UI Button, once it is clicked it will take to Review State

before moving to REVIEW state I need to closed all the task (created manually or from work flow). As you can see that The task is till pending showing above and State has moved to Review.

Please not : I want to make compulsary to user to closed all the task manually, not automatic closed.

Can some help me?

15 REPLIES 15

FWIW, I recommend the approach I offered (don't show the button until it is time.)



Best practice is to prevent users from doing bad actions, not letting them do something they shouldn't and warn them they did something wrong. They'll start asking you "why is the button there if I'm not allowed to do it."