Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Create Multiple Records date using script

141 4
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, 

 I would like to run an automation to create the next 7 day scheduling, adding the next 7 working days in calander 

it would be best if i can copy the last most recent row values as well, but some fields will not be copied

at minimum i would like to run a scrip to add the next 7 days 

Example: 
The last date is 25th Dec, i would like the script to add 7 rows 

  • 26 Dec 
  • 27 Dec 
  • 28 Dec and so on 

kimmochi_0-1671677252068.png

 

4 Replies 4

How would you want to trigger the script?

Hi 
i would like to run the script on the extention page so it will add the row depending on the view 

So you want to create the next 7 working days as empty records or do they have to be filled with data VIA the script?

 

If you just want to automatically always have the next 7 days you could to a scheduled automation run.

On each monday at 1am,

Create a js script that collects the current day, then for each iteration increment with one.

 

Do you need help creating the script?

Yes i would need help on the scripting 

Merry Christmas btw