https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md - this is the cheat sheet you can refer and try options maybe some ordering and use properties / path filtering , I hope you will get the answers from here.
Well i am trying to understand your problem case here, you mean to say when user will click manage workflow you want to override default UI behavior from AEM and want to show to options ?? Can you put a snap of what you are referring ??