As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
void notify(DelegateTask task) { //Casting to TaskEntity which is overkill since I am using Groovy, but there for dramatic effect TaskEntity entity = task; String mySkip = skip?.getValue(task)?.toString(); if (mySkip && mySkip.equalsIgnoreCase('true')) { //Only update if we are in a CREATE listener if (entity.getEventName()?.equals(EVENTNAME_CREATE)) { //Bad things happen If there is a timer attached to the task entity.complete(); } } }