<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I have to admit, I’ve always struggled with conditions.&nbsp;<div class=""><br class=""></div><div class="">Here I’m trying to have a different close time on a Friday to the rest of the week. Ignore the resulting actions, that’s just for testing. It appears the issue is matching the variable. I’ve tried export instead of set as well. Can anyone tell me where I’m going wrong, or if this should work?</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;include&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;extension</span><span style="font-variant-ligatures: no-common-ligatures" class=""> name="Time-of-day" continue="true"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;condition</span><span style="font-variant-ligatures: no-common-ligatures" class=""> wday="6" time-of-day="09:00-16:30" break="never"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="set" data="officestatus=open"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;anti-action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="set" data="officestatus=closed"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/condition&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;condition</span><span style="font-variant-ligatures: no-common-ligatures" class=""> wday="2-5" time-of-day="09:00-17:00"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="set" data="officestatus=open"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/condition&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/extension&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;extension</span><span style="font-variant-ligatures: no-common-ligatures" class=""> name="mainin"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;condition</span><span style="font-variant-ligatures: no-common-ligatures" class=""> field="${officestatus}" expression="^open$"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="answer"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="playback" data="ivr/ivr-in_line.wav"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/condition&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/extension&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;extension</span><span style="font-variant-ligatures: no-common-ligatures" class=""> name="vmin"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;condition</span><span style="font-variant-ligatures: no-common-ligatures" class=""> field="${officestatus}" expression="^closed$"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="answer"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&lt;action</span><span style="font-variant-ligatures: no-common-ligatures" class=""> application="playback" data="ivr/ivr-im_sorry.wav"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/condition&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/extension&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 199); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;/include&gt;</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div>

R</div></body></html>