Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, 2010 and 2013; Nintex Workflow for Project Server 2010; Nintex Reporting 2008 and Nintex Analytics 2010; Nintex Forms 2010; Nintex Live and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help
in Search

Extract data from eml-File via Regular Expression

Last post 06-14-2012, 11:01 AM by Vadim_Tabakman. 3 replies.
Sort Posts: Previous Next
  •  06-12-2012, 9:29 AM 23413

    Extract data from eml-File via Regular Expression

    Hy, we are sending mails to an e-mail enabled document library and want to extract data from the body of the mail.

    Sending and saving mails to the document library works fine also reading the content of the eml-file via the QueryXML-Action works fine.

    Our problem is that the regular expression is working when we use the "RUN NOW" command and not when the workflow

    runs.

     

    We've defined the following values in the regular expression action

    Pattern: (?<=Name:).*(?=Strasse)

    IgnoreCase: True

    Input: Workflow-Variable with data of eml-File

     

    We are using Nintex Workflow 2010 Standard Version 2.3.3 

  •  06-12-2012, 10:01 AM 23414 in reply to 23413

    Re: Extract data from eml-File via Regular Expression

    Hi Florian,

    I've not encountered an issue where the RegEx works in the Run Now but not when the workflow runs.

    Does it work if you manually start the workflow?

    I ask because I want to see if this only fails on automatic starting, then it could be that you may need a delay at the start of your workflow in order to get SharePoint to complete it's updating of the item.  If it hasn't, it's possible the body of the email is blank and that's what you are running your RegEx on.

    Can you read the body into a text variable, then use a Log in the History List action to log it before you run the Regex on it?  This may let you know if you have data yet or not.

  •  06-14-2012, 5:28 AM 23462 in reply to 23414

    Re: Extract data from eml-File via Regular Expression

    Hy Vadim,

    the workflow is started manually.

    I took the body of the e-mail an copied it directly in the input-field of the regular-expression action and it doesn't work.

    As I mentioned, with the "RUN NOW" action it works!

     

    Best regards,

     

    Florian 

     

     

  •  06-14-2012, 11:01 AM 23469 in reply to 23462

    Re: Extract data from eml-File via Regular Expression

    Hi Florian,

    send an email to Nintex Support and attach an example of the email that gets put into your doclib.  We can then try it out and see what we can find.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems