when running Operate on data with 100 workflows, it took several seconds to execute GET /api/incidents/byWorkflow query. (Details in comment)
research, if we can make the query scalable
If yes, implement it.
If no, propose what can be done to improve the behavior (separate it in several queries, introduce pagination etc.)