Hi all,
Actually, by using Dynamic DOCX Template I am generating a PDF.
Now I want that PDF ID to save in a process model.
I tried by creating a process variable of type number integer and tried saving the generated document from the plugin into the process variable and didn't work out!!
Can someone suggest me how can I achieve this.
Thanks In Advance.
Discussion posts and replies are publicly visible
Yeah,
1. there are no errors, and I am trying to save the errors too for reference.
2. I am already saving the PDF in a document but I need the ID of that PDF document.
3. Yeah, the nodes are not overriding.
The "Document" type PV already (actually) contains the document ID - Appian just shows us the document's name to be "user friendly" - but this can be cast to INTEGER type at any time we need - you could just use a subsequent script task to save that PV directly into an INTEGER type variable and you'd have it.
But yes if you want/need to save the ID directly at save time, all you need to do is add an extra node output entry, just below the place you (already) have it configured to save into pv!newDocumentCreatedPDF: