translate workflow resources to flow fom