Part of the file name did not print

  1. I have a dynamic string variable : EnvironmentName

And the filename variable is below:

FileName = EnvironmentName+“Part2_”+System.DateTime.Now.ToString(“MM-dd-yyyy_hh.mm.ss”)+".txt"

But whenever I execute the workflow, the EnvironmentName value is missing from the fileName, not sure what is the issue.

output

Can anyone take a look abd tell me what’s missing?

can you share your workflow, just to see what happens

example.xaml (7.7 KB)

you are printing a variable that you assigned a default value, at the beginning the variable “EnvironmentName” has nothing, that is to say null, and nowhere in the workflow are you changing that default value, so that variable will always continue printing as if it were empty, you just had to add an assign to give the new value to the variable and that’s all.
example.xaml (7.0 KB)

2 Likes

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