Question
Get Id of attachment generated via process file in a business process
23:05 Jul 12, 2023
Hi Community,
Is there a way to get the id of the attachment that has been generated through Process file in a business process as illustrated in file attached?
The idea is to read the id of this generated report to apply custom access rights.
Thank you for your help,
Like
1 comments
01:30 Jul 13, 2023
I do wish it would return the ID, however, since it *can* create multiple files for whatever matches the filter conditions it's not always a single ID or file created.
What I typically do is do a read immediately after for attachments on the record, sorted by Created On desc, and also use the Name of the file based on the naming of the printable used. It's not ideal but has worked for me.
Ryan
Show all comments