I would like a way to create my own Variables that are C# functions that return a scalar value. We have found times where the variables end up being either too complex and/or are not readable. Or, we have to go out of our way to have a C#/Powershell job return something that then becomes a Job Variable.
It would be awesome if we could make our own Smart Variables. I often find myself find repetition amongst a few different job functions, but I don't want to make a feature request for every small change.
Examples:
- Date/Time (First Day of the Month)
- Date/Time (Last Day of the Month)
- String (Calculate specific File Names from some complex C# function)
OR.. Just have the ability in the C# or Powershell Task to output the result directly to a Job Variable