Hello everyone, I have a question about the excel data, I would like to share my workflow first
Scrapping data (main Datatable) from the website.
For the example, I would like to copy the dynamic range by using the data from the excel sheet (the data is specific date 2022/10/07) and the range that I want to paste in the formatted excel is 2022/10/07 - 2022/10/13 ( always +7 days)+ 7 Passwords including also.
You can pick random number or current seconds from system time. and check that value is less than or equal to number of elements in datatable.
eg.
you got 4 as random number
value = 4+7 =11
you have 20 elements in excel so this number consider as correct and aply your further logic.
you got 17 as random number
value = 17+7 = 24
you have 20 elements in excel so it is not valid so you can try to get another number and to the same check again.
Could you let us know How is the Date 16/10/2022 the Starting date in Output ? Is it 7 days from current Date then we need to pick 7 Dates from that date ?
@supermanPunch Hello and sorry for the late reply
Usually, I use the read-cell function from customer documents, It will show the detail on the cell like this
and the data may come out in the string data
I would like to match the date from the customer file with the date from the website and copy the data like the example excel that I uploaded
Could you Check the workflow Below : Filter DT.zip (11.1 KB)
I do think there are still few things that are not cleared. But you could give the workflow a try and let us know if you are getting the expected Output or not.
Also, we might need to change the Date Conversion method on Customer Date if you get an error when using your value from Customer Excel.
I have some questions to ask you about the customerâs date, maybe we misunderstood the point
For example, if the customerâs date is 11/10/2022 the output table should start from 11/10/2022 to 17/10/2022, but in your example workflow your assign the (customerDate) as 11/10/2022 but the output shows the
maybe it cannot use for my workflow
and another question after I try to use your expression the errors show below
I just changed the variable from (customerDate) to my variable (StartDate) and the error shows
As you can see in the image above, we used a customerDate variable to store the input date from customer. It means you donât need to modify the expression with the date value received but just assign the date value to this variable.
Here, the error is showing up because of Datatable not being declared or not using the right Datatable in the Query. In the workflow that was provided, the Datatable variable name was DT, you need to change the Datatable variable according to the variable name that you have used.
Also, Not sure if the Logic/Condition that you are trying to explain is right or still being misunderstood.
For the Date, 14/09/2022, you have mentioned it should stop on 08/11/2022. But since there are no dates in Septembere, the next closest 7 Days to the customer date would be starting from 10/10/2022 according to the Input data provided, isnât the Output should be the following based on the Input data provided :
The above assigns will change the column name to the required column names. Next we would require to Skip the first row and convert to Datatable like below :
We did provide the suggestion/solution based on the initial requirements.
However, it seems that the total requirements is still not being discussed.
Is there a verification that is happening between the website?
If the data that is being used is different for the Errors mentioned, we would ask you to share the data and mention the Output that is Supposed to occur and what is the output currently from the Solution provided.
If this is a different requirement from the original, then we could also discuss this as a separate topic or in private, which would let us Close this Original Topic.