Help

Re: Create Multiple Records date using script

1544 1
cancel
Showing results for 
Search instead for 
Did you mean: 
kimmochi
4 - Data Explorer
4 - Data Explorer

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 

Ruben_Rossvold
6 - Interface Innovator
6 - Interface Innovator

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