Hi
How can i create a business rule to run when a request is created between 5pm and 7am.
Is there is an expression i can use?
For example something like request.created_dttm <17:00 + <07:00
Thanks
Hi
How can i create a business rule to run when a request is created between 5pm and 7am.
Is there is an expression i can use?
For example something like request.created_dttm <17:00 + <07:00
Thanks
Best answer by ishD
I usually solve these logic battles with a view and compare against something simple. I might make a view and have a column that does the logic for you (sql case statement to see if the date fits the params) and outputs Y or N and the business rule simply fires if it’s a Y.
Lee might be able to tell us if this is bad practice.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.