boundary timer event, timer cycle
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2016 01:53 AM
Hi,
I am designing a feature where if the process is pending on a user task for a certain amount of time a service task should be executed on repeat after a preset time duration. I am aware of activiti's boundary timer event configuration as
But in my case I face an error saying unable to parse cron expression R5/PT30S.
It seems my configuration is only configured to accept cron expression and not ISO8016 time duration expressions. "Time duration" and "time date" fields accept ISO8016 expression but "timer cycle" field only accepts cron expression.
Please help me figure out how to enable my activiti to accept ISO8016 time duration expression in "timer cycle field".
I am designing a feature where if the process is pending on a user task for a certain amount of time a service task should be executed on repeat after a preset time duration. I am aware of activiti's boundary timer event configuration as
boundaryEvent id="sendReminder" name="Timer" attachedToRef="sendRemindermail" cancelActivity="false"> <timerEventDefinition> <timeCycle>R5/PT30S</timeCycle> </timerEventDefinition> </boundaryEvent>
But in my case I face an error saying unable to parse cron expression R5/PT30S.
It seems my configuration is only configured to accept cron expression and not ISO8016 time duration expressions. "Time duration" and "time date" fields accept ISO8016 expression but "timer cycle" field only accepts cron expression.
Please help me figure out how to enable my activiti to accept ISO8016 time duration expression in "timer cycle field".
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2016 04:00 AM
Hi,
The <timeCycle>R5/PT30S</timeCycle> you have configured is perfectly valid. Could you please post your complete bpmn20.xml so that I can test this at my end? Please see an example bpmn file which I created that matches your requirement and it works as per your requirement against the latest version (1.5) of Alfresco Activiti.
Regards,
The <timeCycle>R5/PT30S</timeCycle> you have configured is perfectly valid. Could you please post your complete bpmn20.xml so that I can test this at my end? Please see an example bpmn file which I created that matches your requirement and it works as per your requirement against the latest version (1.5) of Alfresco Activiti.
Regards,
