<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I am writing a script for a customer who has an odd call flow, not really an optimal call center environment, but it's what the customer wants. Basically there are 30 agents, calls come into a DID and ring to the primary agent, if that agent is not available, the call rings to a defined backup agent, if the backup agent is unavailable then the call rings out to a team, if no one on the team is available, then the caller is given a choice of holding for the primary agent, or leaving a voicemail.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Each agent has their own DID and is available during different business hours. So I thought I would use an XML file that contained details for each DID and read that into the script; DID, PrimaryExt, BackupExt, Team, etc.  Since each agent has different business hours, I was going to read a open and close time for each agent from the xml file as well.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The issue I am having is that the Get XML Document Data step doesn't recognize a variable that is defined as Time. I had planned to read in the OpenTime and CloseTime and compare the current time to see if the agent was Open or Closed.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Am I going about this the wrong way? I've never worked with Time variables read from an XML file.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>tm</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Tim Medley</DIV><DIV>Moxie Enterprises</DIV><DIV>Email: <A href="mailto:tim.medley@moxieent.com">tim.medley@moxieent.com</A></DIV><DIV>Phone: (704) 905-4604</DIV><DIV> </DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>