Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Calculate 10 minutes before current date&time in Architect ?

    Posted 03-02-2021 02:58
    Hi,
    I'm using a data action in my call flow that require as input a time range. I need to set this interval always to 10 minutes before current time.
    I didn't find expression to calculate currentdatetime - 10 mins.

    Could you help me on this ?

    Thank you in advance.
    #PlatformAdministration
    #SystemAdministration


  • 2.  RE: Calculate 10 minutes before current date&time in Architect ?

    GENESYS
    Posted 03-02-2021 04:37
    Hello,

    You could calculate this inside your Architect Flow (using Update Data block and an expression).
    To get the current date/time, you can use the GetCurrentDateTimeUtc() function.
    To substract 10 minutes, you can use the AddMinutes() function.
    This would look like this: AddMinutes(GetCurrentDateTimeUtc(), -10)

    Regards,


    ------------------------------
    Jerome Saint-Marc
    Genesys - Employees
    ------------------------------



  • 3.  RE: Calculate 10 minutes before current date&time in Architect ?

    Posted 03-03-2021 02:23
    Hi Jerome,
    Yes, it is working fine now, thanks for your help.

    Regards.

    ------------------------------
    Mostafa Oudderhem
    Coverage-Communication
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources