MichaelF1903 Member since 2012 26 posts
Posted: 4 years ago
Last activity: 3 years 3 months ago

How to automatically attach a file to a work object?


In our 7.1.8 application there is a point in a flow where we want to automatically attach a file from a network or local drive. I've looked at the Smart Shape "Attach Content" but it only allows attaching a binary file, and even then we can't specify an external file, only one that has already been uploaded, so I'm not sure what possible use it could be. The help isn't particularly helpful either as it is very different to the actual shape.

Is there an OOTB activity/function/flow action that can take a filename parameter and attach the file to a work object? Or is it a case that we have to manually create an attachment page and set the value of pxAttachName to be the path of the attachment? And even if we do that, what else do we need to do to get the data to actually upload?will the "SaveAllAttachments" activity do that?

And can someone at Pega tell us if they will ever update the help to include this information? I have not been able to find anything in the PRPC help that covers any aspect of automatic file attaching (outside of report PDFs).

Many thanks,


Data Integration Java and Activities Case Management
Moderation Team has archived post
Share this page LinkedIn