AnsweredAssumed Answered

Create text file to attach to a ticket

Question asked by Daniel Becker Bighelini Champion on Apr 18, 2018
Latest reply on Apr 20, 2018 by Daniel Becker Bighelini

Hi guys,

Has anyone here ever had to export the contents of a Spel string variable into a .txt file?

Unfortunately I have not yet been able to use the native 'expand' function to generate a file on the server. I can only read the contents of a file via Spel.

I know it is possible to do this using the native 'exec' function with the help of the Windows command 'CMD / C ECHO', but this alternative is not very efficient when multiple application servers from different operating systems are used.

I need to be able to do this to later attach this newly created file to a specific ticket.

 

Has anyone here already overcome this challenge?

Outcomes