private void dumpAuditTrail(ProcessInstance processInstance) { if (!log.isDebugEnabled()) { return; } for (Audit audit: processInstance.getAudits()) { log.debug("{} {} {} {} {} {} {}", audit.getId(),audit.getProcessDefinitionName(), audit.getTaskId(),audit.getStatus(),audit.getComment(),audit.isHandler(),audit.isInterrupted()); } }
ret.append(audit.isHandler()); ret.append(" interrupted:"); ret.append(audit.isInterrupted()); ret.append(" taskId:"); ret.append(audit.getTaskId());
@Transactional public TaskBase findInterruptedTask(ProcessInstance processInstance) { TaskBase ret = null; for (Audit audit : processInstance.getAudits()) { if (audit.isInterrupted()) { ret = getTask( audit.getProcessDefinitionName(), audit.getTaskId()); audit.setInterrupted(false); break; } } return ret; }
theInterrupted = this.isInterrupted(); strategy.appendField(locator, this, "interrupted", buffer, theInterrupted);
lhsInterrupted = this.isInterrupted(); Boolean rhsInterrupted; rhsInterrupted = that.isInterrupted(); if (!strategy.equals(LocatorUtils.property(thisLocator, "interrupted", lhsInterrupted), LocatorUtils.property(thatLocator, "interrupted", rhsInterrupted), lhsInterrupted, rhsInterrupted)) { return false;
theInterrupted = this.isInterrupted(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "interrupted", theInterrupted), currentHashCode, theInterrupted);