Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Condition include during time of day

Avatar

Level 1

I've got a live chat widget dropped on our site via Launch rule. I would like the script to be active during our support hours only.

 

What kind of condition could I use to restrict firing this rule during during our support window? (8 AM to 8 PM CT)

 

Thanks! 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Here's one possible solution:

  1. Create a Data Element that returns the current hour of day in CT in 24-hour format. You'll need to write your own code to do this.
  2. In your Rule that loads the widget, include a Condition that checks if this Data Element's value is between 8 and 20.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Here's one possible solution:

  1. Create a Data Element that returns the current hour of day in CT in 24-hour format. You'll need to write your own code to do this.
  2. In your Rule that loads the widget, include a Condition that checks if this Data Element's value is between 8 and 20.