Any alternative for findfoldersbyname()

Hi Everyone,

Please suggest me alternative for findfoldersbyname() function.

  Discussion posts and replies are publicly visible

Parents Reply
  • Thanks everyone for your response.

    I have achieved the requirement with help of my colleague. Here the constant is holding the parent folder whit in which we are creating the new folders for every new request, and rule input is we are passing the folder name that we want to search.

    with(
    local!allFolderId:tointeger(
    folder(tointeger(cons!GOE_UPLOAD_DOCUMENT_FOLDER),"folderChildren")
    ),
    local!folderName:apply(
    folder(
    folderId :_,
    property :"name"
    ),
    local!allFolderId
    ),
    index(
    local!allFolderId,
    wherecontains(
    ri!folderName,
    local!folderName
    )

    )
    )
Children
No Data