Set Dynamic Delay in Delay Activity

Hey All, I hope you all are doing great. I am trying to make a dynamic delay in UiPath studio but it says invalid time frame can anyone help me out with this problem?

1 Like

Hi @Muhammad_Anas_Baloch

To set dynamic delay , you can store the milliseconds wait time like 1000 or 2000 in the config xls and you could retrieve by using the key value as Config(ā€œTimeoutValueā€).tostring

The error ā€œinvalid time frameā€ in UiPath delay activity can occur if the duration format is not correct.

1 Like

Hi,

Can you try to use TimeSpan.FromSecond method etc, as the following?

image

TimeSpan.FromSeconds(delaySec)

note : delaySec is Double type variable

Regards,

3 Likes

Thank you, dear it worked for me!

1 Like

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