loading workflow details from couch db