LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Filter node to check the condition and then perform the next course of action.

    Employee
    Posted 05-20-2016 02:40

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Jagdev

    Hi Experts,

    I need your assistance to deal with this. I am pulling the name of the file from the location where the URL could be separated by �//� or �\�. Could you please lemme know how to amend the below code to first check the URL separator and accordingly perform the next course of action.

    dirtectoryFileNameList = filename.split("\\")
    if dirtectoryFileNameList == "\\" then
    {

    directoryFileNameLen = dirtectoryFileNameList.len()
    excelFileName = dirtectoryFileNameList.getItem(directoryFileNameLe n.subtract(1))
    carrier = excelFileName.split("_").getItem(0)
    }
    emit *
    emit carrier as Carrier_Underwriter
    exclude fileName

    Regards,
    Jagdev


  • 2.  RE: Filter node to check the condition and then perform the next course of action.

    Employee
    Posted 05-20-2016 05:57

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    Something like the attached?
    Attachments:
    parseFilename.brg


  • 3.  RE: Filter node to check the condition and then perform the next course of action.

    Employee
    Posted 05-23-2016 08:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Jagdev

    Thanks Ryeh, This is really useful and fulfills my requirement.

    Regards,
    Jagdev