gorby
(RPA Ninja)
1
Good evening
I am a user of UiPath Studio 2025.0.191STS Community edition.
- What I want to do
I want to set the wait time before execution in the properties of the Click activity to a decimal value in seconds.
- What I am puzzled about
If I want to set the wait time before execution to 0.7 seconds, is it correct to write it as 0.7d? Will it not work if I just write 0.7?
hi, @gorby
Use 700, not 0.7 or 0.7d.
Most UiPath activities use milliseconds (Int32) for DelayBefore/After, so decimals aren’t supported.
If it’s a TimeSpan property, use:
TimeSpan.FromSeconds(0.7)
gorby
(RPA Ninja)
3
Hi, thank you kind Hindu @arjun.shiroya
One more question for you.
How about 7 seconds case?
Are both 7 and 7000 acceptable?
For most UiPath activities (DelayBefore/After):
- Use 7000 → correct (milliseconds)
- 7 = 7 ms, not 7 seconds
If the property is TimeSpan-based, then:
- TimeSpan.FromSeconds(7) is correct
So generally, for 7 seconds → use 7000
gorby
(RPA Ninja)
5
Hey, kind Hindu @arjun.shiroya
What you are saying might be applicable in classic design activity case according to the next link. Hope to hear your comment.
gorby
(RPA Ninja)
6
No. the property is double. Therefore, I assume 0.7 will be acceptable.
You’re right — in Modern activities, DelayBefore/After is a Double (seconds) .
So:
- 0.7 = 0.7 seconds

- 7 = 7 seconds

- 0.7d isn’t needed
7000 only applies to Classic activities where the value is in milliseconds.
Tanks for pointing that out 
gorby
(RPA Ninja)
8
You are welcome.
May Saraswati bless you