Should not initiate the application until it is closed

0
Hello everyone, I have list of application audits. when i click on ‘Initiate Audit’ that button will run a microflow by changing that application status to ‘scheduled’ Once the audit is completed then application status will be ‘closed’. Here my requirement is, if one application is in ‘scheduled’ state, the user should not be able to initiate the audit for the same application until the status is ‘closed’.. can anyone suggest how this can be done Thanks,  Apurupa
asked
1 answers
0

In the microflow behind the “initiate audit” button, do a retrieve of all applications in scheduled state. If the list is empty, continue the rest of the flow. If it is not empty, show the user feedback why it cannot be scheduled (or even better, make sure they can't press the button at all while an audit is in progress).

answered