--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/c136b511-1ffd-44cc-b1ed-869ef60c1b36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/75a04685-6e54-4ad4-89ae-54f0c224aa80%40googlegroups.com.
On 25 mar 2015, at 01:30, subasis mohanty <subasis...@gmail.com> wrote:Hi Maciej,
As you said i need to query process instances, how do we do that is it simply calling getAllProcessInstances() of JpaAuditLog, then imagine if there are 100000 processinstancez then pulping alk these records and deleting this one by one might be a risky thing i.e. memory issues.
If you can help me in getting a API by which u can selectively choose process instances or delete all of those than that would be greatT
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+unsubscribe@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/f64767cc-270f-446c-ad4a-f0677a1785c5%40googlegroups.com.
KieServerConfig config = new KieServerConfig(kieContainerInstance.getResource().getConfigItems());
if (config.getConfigItemValue("org.jbpm.task.cleanup.enabled", "true").equalsIgnoreCase("true"))
{
logger.debug("Registering TaskCleanUpProcessEventListener");
addTaskCleanUpProcessListener(unit, kieContainer);
}
So the way i was able to make it work is by creating container using rest-api call kie-server/services/rest/server/config and pass body with
...
<container container-id="TestContainer">
<config-items>
<itemName>org.jbpm.task.cleanup.enabled</itemName>
<itemValue>false</itemValue>
</config-items>
...
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule"></kmodule>
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+unsubscribe@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/1b91d6e9-195a-48b0-84bd-d6bc3f0ad5af%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/30c53c68-0109-4910-a830-ac003a7f3972%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/ed031025-e231-4824-b5f2-977391d58578%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/fff5e33d-ad86-441b-a503-831c252b5e32%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/7035807d-8bee-4322-8282-c5a1ed911007%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/543f2899-c77d-47a2-8549-db9f097aa799%40googlegroups.com.