Logic problem with deadline time in rules.

Started by idahofisherman, April 11, 2014, 08:10:52 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fred

The rule is called deadline but it's actually deadline left - time left.

Example

time left 0d,14:00:00
deadline 0d,12:00:00

DeadlineTimeleft = Deadline - System Time = 12 hour
DeadlineTimeleft = DeadlineTimeleft - Timeleft   = -2 hour

Triggers rule < 0