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.
Solved! Go to Solution.
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
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
Thanks bro.
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).
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.