Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14566

Bridge MailFolder/MailActions with Automation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: IMAP Connector

      Description

      The MailFolder create Document from Mail using a configured chain of actions.

      The extension point is called actionPipes.

      The default configuration contains :

            <action>
              org.nuxeo.ecm.platform.mail.listener.action.StartAction
            </action>
            <action>
              org.nuxeo.ecm.platform.mail.listener.action.ExtractMessageInformationAction
            </action>
            <action>
              org.nuxeo.ecm.platform.mail.listener.action.CheckMailUnicity
            </action>
            <action>
              org.nuxeo.ecm.platform.mail.listener.action.CreateDocumentsAction
            </action>
            <action>
              org.nuxeo.ecm.platform.mail.listener.action.EndAction
            </action>
      

      The action that will actually create the Document is CreateDocumentsAction.

      So, if you want the mail folder to create custom Document types, you have to contribute your own Action and overriding the default chain.

      • this may seem more complex than actually needed (even if the code itself is rather simple)
      • today, all this configuration would be done via Automation

      The goal of this addon is to do the heavy lifting and basically "make a new Mail Action that uses an Automation chain to do the creation".

      This will allow you to define everything from within Nuxeo Studio.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: