i have a set of instantiated process and i want to query some Process on the basis of value of process variables present in process.
You could try using this - Activiti/ProcessInstanceQueryImpl.java at 6.0-release · Activiti/Activiti · GitHub . Here is an example - Activiti/ProcessInstanceQueryTest.java at 6.0-release · Activiti/Activiti · GitHub
I am new to Activiti Development. Where would the user perform these queries?
I assumed the context for this question was running the activiti engine embedded in a java process (so not from the UI), which is most common with the community edition. But a runtimeService and other engine services can also be used within a service task as part of an activiti process. Here is an example - activiti-examples/VariableToDataModelMapping.java at master · cijujoseph/activiti-examples · GitHub (the example uses AlfrescoRuntimeDataModelService but RuntimeService could be autowired in the same way).
Retrieving data ...