query support for custom actions