So I am using workflow to output a csv file for use in another system.
Workflow seems to be taking the code from the Form and putting them in the csv but it is being treated as a date field.
Creating the csv file
dim txtfile as String = "E:\LFTransfer\TestExport\" & GetTokenValue("RetrieveBusinessProcessVariables_vendorname") & " - " & GetTokenValue("RetrieveBusinessProcessVariables_invnum") & ".csv"
Workflow track tokens showing the value:
Writing the line to the csv
w.WriteLine("APDF" & ",,,,,,,,,,," & GetTokenValue("ForEachCode_GL_Code"))
Opening the csv:
Result file when opened in notepad to verify formatting:
Since a csv should ignore formatting, any idea as to what needs to happen in the code to get it to put the number with the dashes I need?
Thanks,
Chris