Hi everyone,
I use a!startProcess() in an interface, so that the process will be kicked off once clicked the button. I want to disable that button until the process completes. Is there anyway to do so? Thank you!
Discussion posts and replies are publicly visible
Well, yes and no. Depends on how long that process takes. Are you talking about synchronous background processing?
Yes the process that is started after clicking the submit button is a synchronous process
You'd have to create a process report and query it via queryProcessAnalytics. If there is an active process instance, you disable the button.
Did you consider to just set loadingIndicator=true? If this process runtime is low, you can just enable chaining and the UI refresh will wait until the end of that chained nodes.