issue #22534: Bind success to workspace so it works exactly the same as success after new, and so we have access to the workspace itself from the function.