I will be getting the Employee count from Application Interface using get text activity (Ex: 60 Employees). Based on the Employee count value(60) I have to create Column and have to add 60 items in it like 1,2,3…60. How to create this in bulk in one go? is it possible?
If anyone knows please clarify
Use Enumerable.Range(1, CInt(EmployeeCount)).ToList in an Assign activity to generate numbers from 1 to 60.
Convert the list to a DataTable using Generate Data Table or by building it programmatically.
Write the DataTable to Excel with Write Range to create the column in one go.
Use generate datatable from text with row separator as newline and input as String.Join(Environment.NewLine,Enumerable.Range(1, CInt(EmployeeCount)).Select(function(x) x.ToString))