Question2Replies45Views×Close popoversatish javvaji (satishJ) J.P. Morgan Services India PVT Ltd J.P. Morgan Services India PVT Ltd IN View Profile satishJ Member since 2017 10 posts J.P. Morgan Services India PVT Ltd Posted: 4 weeks agoLast activity: 2 weeks 5 days agoPosted: 23 Dec 2020 13:33 ESTLast activity: 1 Jan 2021 11:18 EST Solved How to attach a excel file present in the service export directory to a work object?How to attach an excel file present in the service export directory to a work object? Pega Platform Case Management Financial Services System Architect ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 2 weeks agoPosted: 31 Dec 2020 10:56 EST×Close popoverPrakash Deep Rai (PrakashDeep) Capgemini Technology Services Consultant Capgemini Technology Services IN View ProfilePrakashDeep Capgemini Technology Services replied to satishJAs you mentioned that the excel is present in service export directory, means you can read it. Read the excel file from the export directory.1.Create an activity. In the activity, do the following.2.Create a page of Data-WorkAttach-File class context. 3.Then encode the excel data stream into Base64.4.copy the encoded value to pyAttachStream property under page step created in step 25. save the changes to WO. Accepted Solution Posted: 2 weeks agoUpdated: 2 weeks agoPosted: 1 Jan 2021 11:16 ESTUpdated: 1 Jan 2021 11:18 EST×Close popoversatish javvaji (satishJ) J.P. Morgan Services India PVT Ltd J.P. Morgan Services India PVT Ltd IN View ProfilesatishJ J.P. Morgan Services India PVT Ltd replied to satishJset the file location to pxProcess.pyFileUpload property.Used Uploadfile() OOTB function to get the Base64 encoded stream of excel file. set this stream text to pyAttachStream. Created Data-WorkAttach-File instance and then Link-Attachment instance to attach this file with WO.