Sending a printed pdf as attachment in a timer

  

Here is the list of items that are needed in a timer in cloud environment:

  1. Populate a screen or a container with data from database
  2. Use html to pdf API to download the container as pdf
  3. Send the downloaded pdf as attachment of email

The issue is 1. How to do attach a timer action to a container because html2pdf is a screen action looking at a container Id. 2. How to save the pdf output as binary data from javascript to database. 3. How to show the saved binary data as image in the email.

Sorry,


but why do you think html2pdf is a screen action?



J. wrote:

Sorry,


but why do you think html2pdf is a screen action?



I am not saying it is, I am using jspdf API and running that script with RunJavaScript method in a screen action