A description of rules and guidelines for using the Register Query feature.
Required
The dynamic query must be registered after you start running the project that contains the streams that the dynamic queries bind to.
In the project that contains the streams that the dynamically registered query will bind to, all streams that are bound to by the dynamically-registered queries must be created as "input", even if the dynamic query writes to them rather than reads from them.
In the project that contains the streams that the dynamically registered query binds to, there should be only streams, no CCL statements.
When you register a dynamic query, you must specify a name for each query and the name must be unique among the dynamically loaded queries in this workspace. Without this name, you will not be able to specify which query to stop later.
The CCL implicit schema feature must be used for all local streams (if any streams are local).
The workspace that will hold the registered query must already exist before you register the query.
Recommended
All of the streams that a particular dynamic query binds to should be in the same project (P1 in the example above).
The following rule applies only if all the streams in the registered query are bound streams:
Before you start running any dynamic queries, you must have at least one input stream and at least one output stream. This is not required as a condition of registering the query; however, if you do not have at least one input stream and at least one output stream in the query, the query will not be able to do anything useful.