• Long Searches fail in (Manual Process Incoming Verifications) agent

    By Chris Crompton 2 decades ago

    When a search string runs multiple lines, the (Manual Process Incoming Verifications) agent fails because Line 39 of the agent is looking for the closing bracket ("]") to be in the same line as the opening bracket ("[")



    I overcame this by adding this line after line 39:

    if (iEndingBracketLocation == -1 ) iEndingBracketLocation = strEmailTextLine.indexOf("source");



    This worked because the reason my query was long is that I'm looking in specific sources in the query, but that really isn't part of my "Search Terms".