Question
2
Replies
912
Views
Posted: June 22, 2018
Last activity: June 27, 2018
Closed
Solved
How to generate .TXT file at runtime
How to create a .TXT file at runtime? Is there any OOTB approach which will create the txt file at runtime?
My requirement here is , I have to create a .TXT file at runtime with the input from a particular property value and that .TXT file has to be attached with the WO.
Hi Sumana,
What you need you can pretty much find in the activity AttachEditedFile in Work-
Take into account that the filedata you supply in the FileData parameter needs to be base64encoded. This can be done using the Base64Encode function.
How the attachment category is set is a bit weird, the activity both asks for a category by input parameter as well as the name of an attachmentpage. The parameter value is overwritten by the value on the attachmentpage. Be aware of that.
Kind regards,