We have multiple workflows that add a custom print button to a sales order. Upon button click the workflow transitions to a state that runs a script to generate a custom pdf printout. We have recently discovered that if the button is not clicked, the workflow never exits the button state. This allows a button to continue to appear even after a workflow is set to not running. Is there a way to exit a button workflow state if the button is not clicked?