Queries work both in Rule Designer and Decision Center. When you synchronize a rule project between Rule Designer and Decision Center, queries in both modules are also synchronized, except for certain module-specific query constructs.
You can create and run queries in either Rule Designer or Decision Center. However, you do not have to write the same query twice: when you synchronize rule projects between Rule Designer and Decision Center, queries in both modules are also synchronized.
The query BOM and vocabulary files are shared between Rule Designer and Decision Center. However, certain query constructs are not: if you write queries using module-specific constructs, these queries are synchronized but you cannot run them in the other module. If this is the case, you receive an error message. To make sure that a query written in one module can be run in the other, avoid using module specific constructs.