Hi, I would like to know if a GetEmail processor is available somewhere or planned ☺ . I have seen PutEmail but not the dual processor in the help
The goal is to automatically and regularly processes incoming mail , transforms the content and index the transformed content with solr phil Best regards De : Bryan Bende [mailto:bbe...@gmail.com] Envoyé : jeudi 4 février 2016 15:08 À : users@nifi.apache.org Objet : Re: Send parameters while using getmongo processor Hi Sudeep, From looking at the GetMongo processor, I don't think this can be done today. That processor is meant to be a source processor that extracts data from Mongo using a fixed query. It seems to me like we would need a FetchMongo processor with a Query field that supported expression language, and you could set it to ContractNumber = ${flow.flile.contract.number} Then incoming FlowFiles would have "flow.file.contract.number" as an attribute and it would fetch documents matching that. I don't know that much about MongoDB, but does that sound like what you need? -Bryan On Thu, Feb 4, 2016 at 8:00 AM, sudeep mishra <sudeepshekh...@gmail.com<mailto:sudeepshekh...@gmail.com>> wrote: Hi, I have following schema of records in MongoDB. { "_id" : ObjectId("56b1958a1ebecc0724588c39"), "ContractNumber" : "ABC87gdtr53", "DocumentType" : "TestDoc", "FlowNr" : 3, "TimeStamp" : "03/02/2016 05:51:09:023" } How can I query for a particular contract by 'ContractNumber' using getmongo processor? I want to dynamically pass the value of ContractNumber and get back the results. Thanks & Regards, Sudeep _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.