1b.app
Link copied -

Wrong date Schedule when repeating the process

There is an action Automatically start/repeat the same process on the day of the week.
Its description states: The scheduled date becomes the calculation of:
today's date + (old scheduled date - old creation date)

Process https://one-box.shine-bright.com.ua/admin/customorder/tabel/262423/edit/
Schedule: 2022-07-08 11:16:00
Creation date: 2022-07-08 00:14:47

In a new process https://one-box.shine-bright.com.ua/admin/customorder/tabel/262548/edit/
Schedule: 2022-07-09 00:00:00
Creation date: 2022-07-09 00:14:48
Original question is available on version: ru

Answers:

Date, not "date+time" but date. Those. the difference between the dates must be more than 1 day for something to be delivered. Action time does not take into account
11.07.2022, 19:51
Original comment available on version: ru

If only the date is taken into account, then why, if the schedule date is less than the creation date, but the day is the same, then a process is created with schedule = previous day?
https://one-box.shine-bright.com.ua/admin/customorder/tabel/261867/edit/

https://one-box.shine-bright.com.ua/admin/customorder/tabel/262074/edit/

It turns out that the old creation date (2022-07-05 00:14:48) - the old one to schedule (2022-07-05 00:00:00) = 0 (if time is not taken into account)
New date Schedule = today's date (2022-07-06 00:14:53) + 0 (calculations above) = 2022-07-06 (and in the new process 2022-07-05)
12.07.2022, 12:52
Original comment available on version: ru

As far as I remember, if you minus the same date from the date but with a different timestamp, you get -1 or even that. That is, when working with subtracting or adding dates, they must be different
12.07.2022, 13:23
Original comment available on version: ru

Just with this action, the vicious circle comes out.
The first time the process is repeated with Schedule 00:00, if you close it without changing anything, the next day it is created with Schedule = Previous day and you have to change the date to Today.
If you set the date before closing Schedule at the time of closing, then every other day everything is new.
How to ensure that the new process is on the calendar the next day?
12.07.2022, 13:38
Original comment available on version: ru

if the date is scheduled 2022-07-08 00:00:00, with 00 at the end, then after comparing the dates, the date is shifted by 1 day. You can make a setting so that if the date Schedule is less than the current one, then it bets on the current one. Or you can put an action on the first stage of the order to set the date Schedule for the current
14.07.2022, 11:33
Original comment available on version: ru

I just don't understand how the action is meant to work. If you work by default without touching the date, then new processes in the calendar are displayed on the same day, and not the next.
14.07.2022, 11:47
Original comment available on version: ru

do you need to understand the idea or to set a new task every next day? If the second, then above I wrote how to do it)
14.07.2022, 12:08
Original comment available on version: ru

I’ll check the second option, but it turns out that the process repeats and is on the calendar the next day, should it be used only at the initial stage?
14.07.2022, 13:36
Original comment available on version: ru

at any stage, just put the action into which it goes and hangs on your calendar
14.07.2022, 13:38
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment