How to get button to run a bulk function across multiple entities which creates only one new entity and relates it

Forms don’t offer dynamic filtering yet, no