added workflow state to csv export