Issue With Generate Document (PDF)

                     I’m facing one more issue issue while generating PDF with Generate Document . There are two attachment added in this one is from  your guide where there is a file system.FileDocument to select from dropdown. When I’m trying to add that from micro flow there is no file to select and there is not mention that I’m to import any package for PDF generation. Can you please guide or please share any video tutorial for that.  
1 answers

Hi Nisha Saini,
You will have to Pass a file Document object to the Java action.

To create a File Document entity- Create an Entity ‘A’ And Generalize the entity with System.FileDocument.

Now in your Microflow use Crete object Action, create an Object for Entity ‘A’ and Pass it to the GenerateDocument Java action.

Hope it helps!!!