How to automatically download files created by business rules to a local PC.

Naruto Fujimori
Tera Contributor

I have created a business rule that when a record is inserted into the pm_project table, the contents of the table are saved in a JSON file and stored in the sys_attachment table.
I am also able to get the download link for this JSON file.
How can I automatically download this JSON file to my local PC at this time?
Please note that I cannot trigger a screen transition because the end goal is to insert records into the pm_project table using the import set and conversion map.

Translated with DeepL.com (free version)

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, I think the easiest solution might be to email the file via a trigger on the BR and suspect any other solution would require an API integration to push (or pull) the file from the instance.

Naruto Fujimori
Tera Contributor

Thanks for the answer.
If it is sent by email, I would need to access the email and I don't think it can be automatically downloaded. So that method would not meet the requirement.

I wish I could download files to my local PC using only business rules.