WIP get case type by app