[
https://jira.jboss.org/browse/JBPM-2890?page=com.atlassian.jira.plugin.sy...
]
Maciej Swiderski updated JBPM-2890:
-----------------------------------
Attachment: JBPM-2890.patch
Here comes the patch, slightly different that previously uploaded that provides expression
support for timer (timer and reminder).
It uses Expression instead of ScriptManager so it is ready in terms of another issue that
HuiSheng was working on - in fact one method from Expression class is already part of this
patch.
Please let me know what do you think and if no objections I will commit it.
Reminder repeat attribute set via expression or variable
--------------------------------------------------------
Key: JBPM-2890
URL:
https://jira.jboss.org/browse/JBPM-2890
Project: jBPM
Issue Type: Patch
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3
Reporter: Marta Psenkova
Assignee: Maciej Swiderski
Fix For: jBPM 4.4
Attachments: JBPM-2890.patch, reminder_repeat.pvm.r6402.patch
In task reminder it is not possible to use variables in repeat attribute, because it is
not parsed, e.g.:
<task assignee="${user}" g="224,236,193,52"
name="myTask">
<reminder duedate="#{myTask_duedate}"
template="my-mail-template" repeat="#{myTask_repeat}" />
<transition to="nextStep"/>
</task>
The solution here is to parse expression when timer (TimerImpl) is created
See patch attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira