01-15-2014 09:39 AM
<scriptTask id="scripttask1" name="Set timer variable" scriptFormat="javascript" activiti:autoStoreVariables="true">
<script>
//var now = new Date();
// 5 minutes later
execution.setVariable("process_start_time", new Date((new Date()).getTime() + 5 * 60000) + "");
// 2 months later
//execution.setVariable("process_start_time", today + 60);</script>
</scriptTask>
<intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent">
<timerEventDefinition>
<timeDate>${process_start_time}</timeDate>
</timerEventDefinition>
</intermediateCatchEvent>
01-15-2014 10:15 AM
01-15-2014 11:49 AM
01-16-2014 03:45 AM
01-16-2014 05:51 AM
01-16-2014 06:25 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.