Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
4 subscribers
Views
5601 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
Process Model Report having All Document IDs generated in the process model.
rishub
over 7 years ago
Hi All,
I need a report on process model where I can have process Id, & documents Ids for documents generated in the process model. I can use documentlist(getdocumentsfromfolder(pv!docFolder)) but report does contain document type. I just need the document IDs for the generated Docs so that I can save them in DB for reference. Can anyone guide how can I pull the document ID for the generated Docs in the report?
Thanks
OriginalPostID-256484
Discussion posts and replies are publicly visible
0
Mike Schmitt
over 7 years ago
What PV are you saving the generated documents into? It seems to me like a process report should be able to see that somehow.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 7 years ago
@rishub can you elaborate your requirement, like what are you able to achieve currently, and and what's your target to achieve
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ChristineH
Certified Lead Developer
over 7 years ago
On the node where you are generating the document, go to the outputs tab and save the document into a PV. That will allow you to access the doc ID.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub
over 7 years ago
@Alok176, I am trying to browse document based on Account name. So in DB,I will fetch Document IDs & then can fetch those documents.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rishub
over 7 years ago
@Christineh: The problem is Christine, we are generating multiple docs at different places in subprocesses so it was not possible for me to do it at all places.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
over 7 years ago
@rishub: can you give a little more detail as to how your process works? i'm having a hard time thinking of any case where all generated doc ID's couldn't be saved to a process PV (either one PV as an array or maybe multiple different ones depending on the need).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dastagiri Dudekula
over 7 years ago
@rishub. As per your requirements you can create cdt array with fields like Document_Details{usename, folderid, document_type, document_id, created_by}. Before creating folder with document in any sub-process, pass this cdt array and store the values using @christineh suggestion. Finally store the cdt information, so that you can have enough information to get them in future
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel