i have such a business demand:
when a user task is created and completed , a mail should be sended . the rule is : when a user task is created, a mail should be sended to persons who can claim it; when a user task is completed , a mail should be sended to persons who can claim it except the one who complete it .
these two kind of mails have different templates.
the only way i have is use the task lisener. but it is not flexible. i want to make it to be a common way.
any one have a good way? thanks a lot.