A custom query stored in the registry can be executed by giving the path of the stored query and giving a Map of the required parameters. For example:
registry.executeQuery("/path/to/storedQuery", parameter_map); // parameter map contains key value pairs required by the query
Powered by a free Atlassian Confluence Community License granted to WSO2, Inc.. Evaluate Confluence today.