Skip to main content

I have a flow that grabs records for an object and displays them in a Flow Data Table. My current flow, loops through the ids of those records and creates separate s-docs for each record id.  I know this isn't optimal, and I was wondering if anyone has created a flow to create a batch document using S-DOC in a Flow. 

 

I see in their documentation that they have an apex class, visualforcepage, and button to accomplish this from the list view of the object. But, I want to do a similar thing but based on the records selected in the flow. 

 

Question: Can I call the apex class in the flow? Or do I need to convert it something in order to do that. 

 

Any thoughts are appreciated. 

 

this is the documentation for the sdoc with the apex class info: https://www.sdocs.com/knowledge-base/sdocs/batch-processing/the-s-docs-mass-merge-feature/#step-5-use-the-mass-merge-amp-batch-document-feature 

3 answers
  1. May 17, 2024, 8:48 AM

    Hello,

    I'm probably late, but this will probably help someone else.

    With SDoc, you have the ability to generate documents by invoking the SDoc Apex Batch function.

     

    Here is a screen shot of the Method you can call :Hello,I'm probably late, but this will probably help someone else.With SDoc, you have the ability to generate documents by invoking the SDoc Apex Batch function.Note that you need to put a collection of Template IDs, but you can by pass this by creating a collection with only 1 template Id inside.

     

    Best regards,

    J.

0/9000