I have a component, in which the user selects one of the names from the first Label and clicks refresh .Upon doing this a background calculation happens . After this he needs to select the bins he requires and click the 2nd refresh button.
If the user clicks the 2nd refresh button before the calculation is complete , the following error shown below is displayed.
“message”: “Illegal state “IDLE” encountered in method “org.knime.core.node.workflow.SingleNodeContainer#rawReset” in node Refresh Button Widget 0:892:0:884:0:809”,
“message”: “Illegal state “IDLE” encountered in method “org.knime.core.node.workflow.SingleNodeContainer#rawReset” in node Refresh Button Widget 0:892:0:884:0:809”
I dont want to use a “Wait” node because the time for execution for different names are different because the datasets for each name have different number of rows.
Is it possible to disable the 2nd refresh button until the calculation is complete or the previous nodes are executed ?
Is it possible to send the “Executed” status of the previous node as a flow variable to the 2nd " Refresh" button ?