defineObsProperty("failure", rolePart.getCanonicalName());
long now = new Date().getTime();
log("TIME ELAPSED: "+((now-millis)/1000));
try {
for (Commitment com : interactionState.retrieveAllCommitments()) {
if (com.getConsequent().equals(new CompositeExpression(LogicalOperatorType.OR, new Fact("done"), new Fact("failure")))
&& com.getDebtor().equals(rolePart)) {
removeObsPropertyByTemplate("cc", com.getDebtor().getCanonicalName(), com.getCreditor().getCanonicalName(),
com.getAntecedent().toString(), com.getConsequent().toString(), com.getLifeCycleStatus().toString());
com.setStatus(LifeCycleState.DISCHARGED);
defineObsProperty("cc", com.getDebtor().getCanonicalName(), com.getCreditor().getCanonicalName(),