Multiple PDf generation on single button click and send in single email

  • 4 April 2020
  • 1 reply
  • 1 view

Badge +7

Hi,

i have project id' in drop down and when user select project id and click on button i am generating pdf(create pdf from url method, passing id to custom form for project details ).

once pdf generated, i am loading same pdf to attachment control(hidden control) on same form.

In email activity i am taking pdf from attachment control and sending to respective person.

 

Now requirement is changed, user will select multiple project id, and all pdf needs to be generate for selected id's and sent all pdf in single email.

 

is any one having idea how to achive this?


15566i2FA0180E35757831.png


1 reply

Badge +12
Hi,

How do you plan to have users select the IDs? On the form-level, you can create a delimited string that has the IDs the user selected (eg. 1;2;3) passed to a data label, for example. You can then pass this to a Variable on your workflow which you can then loop through to execute the PDF Converter SMO.

Reply