Question
Rule Date Proposed Change for Filters
What breaks now?
Rule is scheduled to run at 09:00 AM. There is a filter condition for Created DateTime > (Subtract 1 day from Rule date) AND Created Date <= Rule date. This filters the data that is created b/w 09:01 AM previous day and 9:00 AM of Today (Rule date). What you may/may not realize is that a subtle issue with Rule date is that it is actually working as dateTime instead of just date and is using the Rule scheduled time for the time component instead of Start / End of day.
Proposed fix is explained below above, let us know if this approach breaks anywhere! Our goal would be to release this solution soon.
Proposed Fix : Honor simple english
Created date < Rule date 12:00AM
Created date >= Rule date 12:00 AM
Created date > Rule date 11:59 PM
Created date <= Rule date 11:59 PM
Also this would operate in the timezone that is set in Rules Engine. For more background, please see https://community.gainsight.com/gainsight/topics/datetime-with-rule-date-filters-does-not-work
Rule is scheduled to run at 09:00 AM. There is a filter condition for Created DateTime > (Subtract 1 day from Rule date) AND Created Date <= Rule date. This filters the data that is created b/w 09:01 AM previous day and 9:00 AM of Today (Rule date). What you may/may not realize is that a subtle issue with Rule date is that it is actually working as dateTime instead of just date and is using the Rule scheduled time for the time component instead of Start / End of day.
Proposed fix is explained below above, let us know if this approach breaks anywhere! Our goal would be to release this solution soon.
Proposed Fix : Honor simple english
Created date < Rule date 12:00AM
Created date >= Rule date 12:00 AM
Created date > Rule date 11:59 PM
Created date <= Rule date 11:59 PM
Also this would operate in the timezone that is set in Rules Engine. For more background, please see https://community.gainsight.com/gainsight/topics/datetime-with-rule-date-filters-does-not-work
Reply
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.