How to pass delay timing from config file

I want to configure Delay After & Delay Before Timing from Config file.
I have tried below activities but not working. Can anyone pleas help to resolve it.

Tried below expressions also.
new TimeSpan(cInt(Config(“DelayShort”)))
new TimeSpan(Cint(in_Config(“DelayShort”)))

Below is Config File updated.
image

Config file also tried with different ways
image

Hi @nilesh.mahajan

Can you try like below

CInt(Config("DelayShort").ToString)

Regards,

Get rid of the config. Its a legacy mindset.

Add it to an asset and use it directly in the workflow where you need it, it can even sort the data typing correctly when you use an asset directly in this way.

The config is a 2018 style of working with UiPath. Since then the reasons to want to centralize assets into a single file like that are no longer relevant or valid.

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