Import excel

Hello,

I am new in appian and  I need to import a excel and save in local variable, after that I need to validate the content of the file (number of columns, etc),  I don't how to start.

Could recommend me the function to do it,  

Could you help me , please?

Best regards,

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to anad0004

    To Achieve this , you would need to design a process model,

    1.Design a ui to upload the excel and get the docId and configure in start form ,

    2.create an expression rule and write your logic what  you want to do

    3. use above expression rule in a script task and based on expression rule output  move forward with your process.

    and use that function something like below

    readexcelsheetpaging(
        excelDocument:ri!docId,
        sheetNumber:0,
        pagingInfo:a!pagingInfo(
          startIndex: 2,
          batchSize:3
        )
      )

    change paging configuration based on your data and make sure not to use "-1" here as it will give you null data.

Children