added logic to read workflowassociations