Stop an audio after X time and make a decision

Hello,

in my in queue flow, I would like to play a prompt and after a very specific time, 2 min 30, I would like to make a decision

I base it on the "Flow.StartDateTimeUtc" variable and I make a decision on this ToString(Second(Flow.StartDateTimeUtc) >= 150)

the problem is that it doesn't work, in fact it fits into my switch once the full audio is played with an additional time of 150 sec

Is this the right approach?
thank's for your help

Hello,

I haven't tried it but your decision should be defined with something like this: DateTimeDiff(GetCurrentDateTimeUtc(), Flow.StartDateTimeUtc) > MakeDuration(0,0,2,30)

Regards,

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