10-14-2012 08:49 PM
10-15-2012 03:47 AM
if (executionEntity == null) {
dueDateString = description.getExpressionText();
}
else {
Object dueDateValue = description.getValue(executionEntity);
if (dueDateValue instanceof String) {
dueDateString = (String)dueDateValue;
}
else if (dueDateValue instanceof Date) {
duedate = (Date)dueDateValue;
}
else {
throw new ActivitiException("Timer '"+executionEntity.getActivityId()+"' was not configured with a valid duration/time, either hand in a java.util.Date or a String in format 'yyyy-MM-dd'T'hh:mm:ss'");
}
}
10-15-2012 06:43 PM
02-26-2014 09:14 AM
02-27-2014 07:24 AM
02-28-2014 02:39 AM
<process id="startTimerEventExample" name="Timer start event example">
<startEvent id="theStart">
<timerEventDefinition>
<timeDate>${'2036-11-14T11:12:22'}</timeDate>
</timerEventDefinition>
</startEvent>
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="receive"/>
<receiveTask id="receive"/>
<sequenceFlow id="flow2" sourceRef="receive" targetRef="theEnd"/>
<endEvent id="theEnd"/>
</process>
StartTimerEventTest
Regards02-28-2014 06:53 AM
03-10-2014 05:50 AM
04-17-2014 12:31 PM
04-22-2014 05:34 AM
// ACT-1415: timer-declaration on start-event may contain expressions NOT
// evaluating variables but other context, evaluating should happen nevertheless
VariableScope scopeForExpression = executionEntity;
if(scopeForExpression == null) {
scopeForExpression = NoExecutionVariableScope.getSharedInstance();
}
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.