AnsweredAssumed Answered

Use of MailActivityBehavior as TaskListener

Question asked by tstephen on Aug 7, 2011
Latest reply on Aug 9, 2011 by frederikheremans1
Hi,

It seems like it would be useful to be able to reuse this class to send mail in a listener. From a quick review it looks like changing
public void execute(ActivityExecution execution)
to
public void execute(DelegateExecution execution)
. The only line that needs ActivityExecution is to call leave, which seems like it could be wrapped in an if instanceof ActivityExecution.

Does this seem a reasonable change to JIRA?
Tim

Outcomes