We have a requirement that states a generated document should be of PegaSocial-Document type.
Right now we are generating a PDF using Work-.pxCreatePDF using a custom template but it is generating a Link-Attachment document and attaching it to a case.
Im getting a PegaSocial-Document only when I’m attaching document manually in OOTB file and document section but I want to generate it programmatically.
Hence can anyone advice on how to generate a document(PDF) of PegaSocial-Document type or alternatively convert a link-attachment document to PegaSocial-Document.
@im-ankit To generate a document of PegaSocial-Document type programmatically, you can use Pega’s OOTB social document features. When you attach a document manually, Pega creates a separate work object (PegaSocial-Document) to hold the document. To achieve this programmatically, you will need to create a custom activity or service that mimics this behavior. Unfortunately, there is no direct API to convert a link-attachment document to a PegaSocial-Document type. You will need to handle the creation and attachment of the PegaSocial-Document manually in your custom logic.
This is a GenAI-powered tool. All generated answers require validation against the provided references.