03-30-2011 07:08 PM
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();
}
}
}
03-31-2011 01:11 AM
03-31-2011 11:53 AM
04-01-2011 02:13 AM
04-01-2011 06:45 PM
04-04-2011 02:50 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.