05-12-2010 02:19 AM
07-19-2010 05:05 PM
org.alfresco.repo.workflow.WorkflowComponent
only defines a method called:List<WorkflowInstance> getActiveWorkflows(String workflowDefinitionId)
which effectively filters out inactive workflows (NB: I have confirmed this by checking the implementation logic inorg.alfresco.repo.workflow.jbpm.JBPMEngine
So, does anyone know another way of retrieving inactive workflow instances – short of querying the database or writing a jBPM callback?07-19-2010 09:25 PM
short of querying the database or coding against jBPM?After a workflow ends, is the information still available in the jBPM database?
07-20-2010 02:49 AM
org.alfresco.service.cmr.workflow.WorkflowService
, i.e.:List<WorkflowInstance> getWorkflowsForContent(NodeRef packageItem, boolean active)
lets you retrieve active or inactive workflow instances for a given package item.07-20-2010 03:50 PM
07-20-2010 05:31 PM
09-07-2010 01:57 PM
09-17-2010 09:03 AM
1. Workflow information is not deleted from the jBPM tables.
2. After a few thousand workflows you are going to want to start deleting that information in order to maintain database performance.
02-17-2011 02:55 AM
04-05-2011 02:09 AM
04-15-2011 10:09 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.