Creating folder name with name DateTime.Now suffix causing issue

Hey guys.

I am creating few folders with name eg. temp+System.DateTime.Now.ToString.Replace(“:”, “.”).Replace(“/”,“.”).Replace(" ", “_”)
Doing it under ForEach loop with specific condition.
Every single folder should contains different seconds value

Despite i have added “Delay” activitie, every time i am getting same specific name

Looks like UiPath remember time when process has started…

image

I am expecting
06.01.2020_09.16.43
06.01.2020_09.16.44

Any clue ?
Cheers

Hi @luksusq,

Please screenshot the activities showing for each, assign, etc. Thanks.

Did you assign again? to write line?

1 Like

My fault i used it as default value, didn’t assigned it to variable… Thanks guys. Solved

1 Like

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