So I went a different way and instead of using a text field for the time, I replaced it with 2 number fields, one for hours and one for minutes (24 hour time format). I then was able to create a logic for running the steps in that sequence based on the start hour, start minute, and delay as follows:

Condition 1: The current date changed to use the start time is greater than or equal to the current date plus the delay time. This means that the step can run on the current day.


Condition 2a: The current date changed to use the start time is less than the current date plus the delay time. That means day(s) need to be added. We need to compare the current date using the start time versus the current date and see which is later.

Condition 2b: If the current date using the start time is less than the current date, we divide the delay time by 1440 (minutes to day conversion), round down and add a day, ensuring the soonest possible start at that start time. If the current date using start time is greater than the current date, then we divide the delay time by 1440 and round up to ensure the earliest start time.

Condition 3: If there is no start time specified, then we just run on current date plus delay time.
condition3

So far this seems to have worked as intended. It doesn’t seem very clean, as doing all the math requires using arbitrary text and within that a comparison to get the calculation and then converting it into a number, and using three different steps to run the BEWF steps using conditionals. If anyone has any input, I’m all ears.