Hello ,
i am getting the delay from the config of string type and i need to use that in delay activity.
suppose delay string of value 3 I am getting from config.
Please help
Hello ,
i am getting the delay from the config of string type and i need to use that in delay activity.
suppose delay string of value 3 I am getting from config.
Please help
Try like this:
CInt(Config("delayVariableName").Tostring)
Where Config variable is if type dictionary.
Delay will be usually mentioned as 00:00:00 like hh:mm:ss
So if we are getting this as a stringlike “00:00:10” then in the delay property mention as
TimeSpan.Parse(config(“yourdelaykeyname”).ToString)
Or
If we are trying to mention that delay in any of the selector acceding activities with properties like Delayafter and DelayBefore which will take milliseconds as input type
So mention like this
Convert.ToInt32(config(“yourdelaykeyname”).ToString)
Where config is a variable of type dictionary
Cheers @Karan28
Thankyou so much , it worked
Cheers @Karan28
Hello @Palaniyappan , this delay format is nor working
I am taking the delay from config which is like this.
key- delay
value- 00:00:03
but excel config file taking the value like this - 12:00:03 AM