Hi every one,
I got this error when running the code in process model. But when running it in a test expression rule, it didn't return me any error. Please have a look at the screenshots below:
I tried reduce the amount of data (from 91 to only 10) but the process error still occurred.
Do anyone knows the solution or possible reason for this?
Thank you!
Discussion posts and replies are publicly visible
hi mollyn126 May I know what is your requirement?
Hi @Abhishek Karumuru! I want to get all date time from a date time range, then split them in to batches of date time.
For example date time range is from 08/11/2023 to 06/02/2024, with batch of 10 datetimes per batch I can get the first batch as below:
The error appears at the step where I want to list out all single date and them of the given date range
My initial thought would be enumerate is returning a negative value may be could you check it once. Could check your start dates and end dates once, is your start date less than the end date
Silly me! I literally set up start and end date time wrong as you said :( Thank you!