We painted ourselves into a corner somewhat when we removed the behavior field from resource types and replaced them with the faceted classification and patterns. The facets are a lot more flexible, but too flexible, and totally user definable, so we can't count on them programmatically. And now I want to find all of the work resource types for charts (e.g. project roles)...it's doable, but very convoluted and slow. See EconomicResourceType.is_work().
Since I am currently just trying to find the work items in Cached Event Summaries, I could add event type to those and be done. But that may not solve the next case...
We painted ourselves into a corner somewhat when we removed the behavior field from resource types and replaced them with the faceted classification and patterns. The facets are a lot more flexible, but too flexible, and totally user definable, so we can't count on them programmatically. And now I want to find all of the work resource types for charts (e.g. project roles)...it's doable, but very convoluted and slow. See EconomicResourceType.is_work().