create workflow object