Variable to set current date by default on the Date/time component of the Script

Hi,

We have configured a Script with Date/time component used for scheduling a callback during outbound campaing calls
Customer want that the current date be selected by default on the Date/time component of the Script when it appears to the agent, then he can change manually the date as he need

I'm able to get it work with inbound call (through Architect) with the expression: Append(Split(ToString(GetCurrentDateTimeUtc()), ".")[0], "-0400")

But I didn't find a way to get it work for an outbound campaign (we don't use Architect for outbound calls)

Any idea ?

Thank you in advance

The date component supports an initial value:

Under Value , select a string variable. This binds the value an agent selects using the date component to the variable. When an agent selects a date, the bound variable stores that date. Conversely, if the bound variable’s value is set before the page is displayed, then the component displays the current value of that variable.

There may be a way to initialize that string variable to one of the built in variables, like Scripter.Agent Call Start Time. If you can't work it out to initialize it, you could at least use a button action to set it.

Thank you Tim for the reply, but I didn't find how to add ''expression" to this variable
I used a string variable with "base" type and not dynamic, the only field I have to write in that variable is "by default value" but it didn't work

Thank you

It is ok Tim, I found it now, we should create action and point to this variable with "Scripter.Agent Call Sart time"

I test it and it works fine now

Many thanks

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.