/** * Adds a HistoryItem to the history list of the workitem. */ public void addHistoryItem (final String author, final String text) { addHistoryItem(null, author, text); }
/** * This method is used when this sleep cannot handle the given 'for' or * 'until' value. * It has to be followed by 'return;'. It logs both in the wi and in the * history and also in the engine log. */ protected void throwSleepException (final InFlowWorkItem wi, final String message) throws ApplyException { wi.addHistoryItem (this.getId(), this.getClass().getName(), message); historyLog(wi, "-err", null, message); log.debug(message); applyToParent(wi); }
this.appliedWorkitem.addHistoryItem (participantName, "participant timed out");
wi.addHistoryItem(getId(), this.getClass().getName(), message);
/** * This method is called by the ExpressionStore when it notices that the * WhenExpression expired. */ public void timeOutReply () //throws ReplyException { this.getWorkitem().addHistoryItem (getNameInHistory(), "timed out"); // // log timeout in history historyLog (null, EVT_TIMED_OUT, null, getNameInHistory()); // participantName is set to null // // resume flow log.debug("timeOutReply() resuming flow"); try { replyToParent(this.getWorkitem()); } catch (final ReplyException re) { log.warn("timeOutReply() failed to reply to parent exp", re); } }
this.workitem.addHistoryItem (getNameInHistory(), "triggered");
wi.addHistoryItem ("subject::"+BasicPrincipal.getBasicPrincipal(s).getName(), "Delegated to participant::"+participantName);
wi.addHistoryItem ("subject::"+BasicPrincipal.getBasicPrincipal(s).getName(), "Delegated to participant::"+participantName);