refactor: replace clearData with clearDataByKey in AbstractWorkflow