Workaround in workflow.connect()