when user upload any kind of excel sheet then interface will extract data and show the user the data.
I have created a Expression rule
readexcelsheetpaging(excelDocument : todocument(ri!ExtratExcel), sheetNumber : 0,pagingInfo:a!pagingInfo(startIndex:1,batchSize:1000),)
but don't know how to add it in script task and make process model out from this.
Discussion posts and replies are publicly visible
Hi nayanb
You can use the below expression to extract Excel data, then you can show it in a grid without using Process model.
a!localVariables( local!read: readexcelimportfile( excelDocument:ri!file, sheetNumber:0, startRow:2, numberOfColumns:7 ).result, a!forEach( items: index(local!read,"values",null), expression: 'type!{urn:com:appian:types:PP}PP_XL'( id: fv!index, ename: index(fv!item,2,null()), dob: index(fv!item,3,null()), email: index(fv!item,4,null()), ) ) )