Legacy Dev Forum Posts

 View Only

Sign Up

Compared Dynamic DateTime to Current date time

  • 1.  Compared Dynamic DateTime to Current date time

    Posted 06-05-2025 19:16

    Aarif | 2024-05-23 10:34:40 UTC | #1

    Hello there,

    I need information regarding the Logical Dynamic DateTime. Initially, I created three variables and stored the dynamic date and time values. The first variable name is MsgStartTime, and that value is "2024-05-23T07:00:00.000Z," and the second variable name is MsgEndTime, and that value is "2024-05-23T20:00:00.000Z." Also, the current date "2024-05-23T10:11:12.791Z" is stored as CurrTime. I tried the below expression to compare the times in the decision block.

    Expression: Task.CurrTime >= Task.MsgStartTime and Task.MsgEndTime <= Task.CurrTime

    The above-provided expression is what I tried, but I didn't get the valid result. The expected result is true, but I got a false result. Can anyone help me?


    MelissaBailey | 2024-05-23 14:52:56 UTC | #2

    Audio in call flows is not always played immediately, it's buffered and flushed at certain intervals. If you want any audio to play immediately, add a flush audio action after it.

    https://help.mypurecloud.com/articles/audio-buffer-and-flush-in-architect-flows/ https://help.mypurecloud.com/articles/flush-audio-action/


    system | 2024-06-23 14:53:53 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 26430