06-12-2018 12:04 PM
I want to set values of 'startTime' and 'endTime' to Time events.
< example >
There is a daily task over a period of time.
'startTime' and 'endTime' is a start and end date of a period. 'startTime' and 'endTime' varies according to the situation.
'startTime' and 'endTime' got from usertask in other process.
Then, how to send 'startTime' and 'endTime' to several timer event ?
Can I set those in a process definition without api ?
06-19-2018 09:17 AM
Timer definitions accept expressions see https://www.activiti.org/userguide/#timerEventDefinitions
For example
For start event
<timerEventDefinition> <timeDate>${startDate}</timeDate> </timerEventDefinition>
For the end event
<timerEventDefinition> <timeCycle>R3/PT10H/${EndDate}</timeCycle> </timerEventDefinition>
Explore our Alfresco products with the links below. Use labels to filter content by product module.