// only log the end of child-tokens. the process instance logs replace the root token logs.
if (parent != null)
{
// add a log
parent.addLog(new TokenEndLog(this));
}
// if there are tasks associated to this token, remove signaling capabilities
TaskMgmtInstance taskMgmtInstance = (processInstance != null ? processInstance.getTaskMgmtInstance() : null);
if (taskMgmtInstance != null)