How delay value given in ms in config file would work?

Hi Friends,

In config file, delay values are given in milliseconds like 15000, 60000 with delay short, delay medium and delay long but the actual delay value is like hh:mm:ss then how the value in config file is given in milliseconds and also it would not work.

Thanks,
Ula

@Ula

You can pass it in DelayBefore and DelayAfter Fields.

          Cint(Config("ShortDelay").ToString)

Hi Lakshman,

Okay, thanks. So we can use those values in Delay before and Delay after property but in delay activity the value must be like hh:mm:ss. Am I correct?

Thanks,
Ula

1 Like

@Ula

Yes. You are correct.

If you want to use it Delay activity then you can convert that value into TimeSpan variable pass into it.

1 Like

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