Legacy Dev Forum Posts

 View Only

Sign Up

Expression: Hour(GetCurrentDateTimeUtc() in an Architect flow

  • 1.  Expression: Hour(GetCurrentDateTimeUtc() in an Architect flow

    Posted 06-05-2025 19:16

    Mpho_Mashau | 2024-08-19 19:36:36 UTC | #1

    Hi Everyone,

    Hoping to get some assistance, I am using the below expression to do a time check on Architect between 8 am and 5 pm SAST my time, which is GMT +02:00,

    • Hour(GetCurrentDateTimeUtc()) >= 6 and Hour(GetCurrentDateTimeUtc()) < 15

    However this check is failing, am I maybe missing something in my expression?

    Thanks in advance

    Regards


    zubair | 2024-08-20 07:58:09 UTC | #2

    Hi

    Is it UTC +2 or UTC +3? Consider the daylight saving as well.

    Perhaps using a Evaluate Schedule would be better


    Mpho_Mashau | 2024-08-20 08:26:33 UTC | #3

    Hi Zubair,

    it UTC +2.

    and I am actually using this in a digital bot flow to validate what users input on a slot action.

    Regards


    zubair | 2024-08-20 19:51:28 UTC | #4

    Ok. You will need to share bit more on what you are trying to do in that slot, what the slot type is and what's failing. BTW, Genesys Community is the better place for these type of queries


    system | 2024-09-20 19:52:14 UTC | #5

    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: 28013