completeEntry(action, id, currentSteps);
completeEntry(action, id, currentSteps, WorkflowEntry.COMPLETED);
    protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException {        WorkflowStore store = getPersistence();        WorkflowEntry entry = store.findEntry(id);        WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName());        Collection currentSteps = store.findCurrentSteps(id);        boolean isCompleted = true;        for (Iterator iterator = currentSteps.iterator(); iterator.hasNext();) {            Step step = (Step) iterator.next();            StepDescriptor stepDes = wf.getStep(step.getStepId());            // if at least on current step have an available action            if (stepDes.getActions().size() > 0) {                isCompleted = false;            }        }        if (isCompleted) {            completeEntry(action, id, currentSteps);        }    }