0

I would like to change the default status of a case that gets automatically set when receiving an incoming email. Instead of Active, I would like to set the case to another custom Active status in order to be able to quickly differentiate between new incoming cases and old cases where the customer has replied.

I'm using the worflow plugin but it doesn't seem to support this kind of scenario. Any ideas on how to achieve this? If the only way is through a plugin, any hints on how to go about it? Such as which interface to hook into? BugCommit?

A more generic approach would be if the workflow plugin would not only allow to set the default "assigned to" person but also to define the default status for certain actions, like "Incoming email received", "Email", "Reply".

flag

1 Answer

1

Ok, actually this was fairly straightforward to implement in a plugin.

I just override BugCommitBefore and only for the specific category I'm interested in, if it is an Email or EmailReply action I change the status to a custom "Awaiting Customer Response" status.

Similarly for incoming mails, if the action is EmailReceive I set the status to "Customer Replied".

Only about 7 lines of plugin code. Seems to work so far.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.