Write To File Activity

I thought this was a simple request but it seems a struggle to get answers... can anybody show how the write to file activity parameters should be completed as I'm getting errors.  Failing that an example of using c# to get data from a table to a file? Not used that much c# so having an example would help. 

Tagged:

Comments

  • It's pretty straight forward if you use the Mstm.WriteToFile()...

     

    Mstm.WriteToFile(@”C:\OutPut.txt”,"This is the text to write",true, true);

     

    Your engine service account needs to be privy to the directory you are trying to write to.