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)
[file]16023[/file]
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
[file]16024[/file]
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
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)
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
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
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)
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/
[file]16038[/file]
https://one-box.shine-bright.com.ua/admin/customorder/tabel/262074/edit/
[file]16039[/file]
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)
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
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
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?
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?
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
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
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.
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.
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?
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?
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
Donate
You don't have enough funds in your account Top up