add null check before setting data in AbstractWorkflow