Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Variable to set current date by default on the Date/time component of the Script

    Posted 11-15-2018 05:15
    No replies, thread closed.
    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
    #PlatformAdministration
    #Routing(ACD/IVR)
    #SystemAdministration
    #Telephony
    #Unsure/Other


  • 2.  RE: Variable to set current date by default on the Date/time component of the Script

    Posted 11-16-2018 02:20
    No replies, thread closed.
    Mostafa,

    This is possible.
    In the Script:

    1. Create a String variable (f.ex. initCallbackDate)

    2. Create an Action (f.ex. setInitCallbackDate)
    In this Action:
    Scripter.Set Variable
    Variable = initCallbackDate
    Value To Set Variable To = Scripter.Customer Call Start Time

    3.  In the Script Properties - Outbound, add the setInitCallbackDate Action to Contact Data Load Action. If you already have a Contact Data Load Action, you can create an Action which executes both Actions.

    4. In the Date/Time Component, set the Value to initCallbackDate.

    Regards

    Steven

    ------------------------------
    Steven Deferme
    Quant ICT
    ------------------------------



  • 3.  RE: Variable to set current date by default on the Date/time component of the Script

    Posted 11-16-2018 03:01
    No replies, thread closed.
    Hi Steven,

    Thank you so much it works fine now, have good day