Forum Discussion
sdayringer
3 years agoNew Contributor III
Add StageArchivesInformation's FileTimeStamp Field to Extracted Filename
I'm writing a business rule that will extract the original imported TB files loaded at month end for each import workflow (which may have multiple files per period), rename the file with the time, wf...
DanielWillis
3 years agoValued Contributor
The error actually describes the issue exactly here. You're:
1. trying to add something to a list passing 2 arguments but only one is allowed.
2. trying to add a string to a list of DBParamInfo
paramList.Add("@myFileName", myFileName)I think perhaps what you want to do is something like (also untested!)
paramList.Add(new DBParamInfo("@myFileName", myFileName))
JackLacava
OneStream Employee
3 years agoGood spot Daniel, that's exactly it, I forgot the wrapping. Will correct.
Related Content
- 4 years ago
- 2 years ago
- 4 months ago
- 4 years ago