cancel
Showing results for 
Search instead for 
Did you mean: 

Document the package org.activiti.engine.impl.mail

tstephen
Champ on-the-rise
Champ on-the-rise
This appears to be a very interesting mechanism for scanning an imap mailbox. Would it be a good idea to document this?
2 REPLIES 2

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I did not have a look at the class specifically, but I do not have a clue what you mean…

tstephen
Champ on-the-rise
Champ on-the-rise
Fair enough! It looks like a proof of concept by Tom to do (approximately) the following:

    Connect to an IMAP server as a given activiti user with credentials stored via identityService.setUserAccount
    Extract any messages in the Cases IMAP folder
    Convert into an Activiti TaskEntity
    Move the message to the CasesInActiviti IMAP folder
    Repeat periodically
I think this, or some evolution of it, would be interesting for users with ad-hoc tasks (Adaptive Case Management usage).

The only reason I say proof of concept is that it seems to make some assumptions like all users have the same mail server, Activiti usernames match mail reecipient addresses, no interface for MailTransformer etc. But if there is interest in taking it further these would be easily fixed.

cheers,
Tim