PLFM-1717 query generatedBy for an entity