This is an Audit Trail plugin that intercepts assignment completion event. This plugin can be configured to store form with form data in .pdf extension of a completed assignment in the server or/and send out the attachment as email.
Plugin Type: Audit Trail Plugin
Joget Version: Version 5.0 onward
Joget Edition: Community and Enterprise
- Upload the downloaded jar file through Manage Plugins.
- Go to your desired App -> Properties & Export -> Set Plugin Default Properties and choose PDF Audit Trail.
- Configure the properties fields.
- Sample email sent out.
- Sample pdf file generated.
With the option Store File Locally checked, PDF file created will be stored in wflow/app_formuploads/pdf-audit/[Process Instance ID] folder.
This is the listing of files for a specific process instance.
Configure PDF Audit Trail
Email Server SMTP Host. Example: smtp.gmail.com
Email Server SMTP Port. Typically, port 465 for SSL security option and 587 for TLS
Email Server Account Username. On Google email account, use your full email address.
Email Server Account Password. Password submitted will be encrypted for security reason.
|Store File Locally|
When checked, PDF file of the form submitted will be saved to the server. Convenient toggle to enable/disable local file storing. File will be stored at app_formuploads\pdf-audit\[PID]\[AID].pdf
When checked, PDF file of the form submitted will be sent out. Convenient toggle to enable/disable Email sending.
Sender email address.
To (Specific email address)
|Recipient fully qualified address.|
Fully qualified address is expected. Multiple values can be accepted by separating them with semicolons. CC: lets you send a copy of a message to someone who's interested, but is not the primary recipient.
Send Separate Email to Performer
When checked, a copy of email will be sent out to the actual performer himself/herself. If you wish to give the performer of the activity a copy of the PDF, you may check this.
Include Activity Information in Email message
When checked, additional information will be prepended to the email message.
|Check if "Message" is intended to be a HTML content.|
CSS to be included when generating pdf file. The Advanced > Formatting (CSS) field gives you formatting options (font size and color) for the output.
Available CSS Classes:
Figure 5: This figure illustrates the CSS classes used in the form layout.
Font & Unicode
There are a few fonts (added by default) that you can use in CSS formatting. They are:
For Unicode content, you can use the following fonts for Asian languages (i.e., Chinese, Traditional Chinese, Japanese, Korean):
Note: "STSong-Light" gives the best result for Chinese; "MSung-Light" for Traditional Chinese; "HeiseiMin-W3" for Japanese; and "HYGoThic-Medium" for Korean.
|Header (HTML)||Header in HTML to be included when generating pdf file.|
|Repeat header on every page?||If checked, the Header (HTML) will be included in every subsequent pages in the generated pdf file.|
|Footer (HTML)||Footer in HTML to be included when generating pdf file.|
|Repeat footer on every page?||If checked, the Footer (HTML) will be included in every subsequent pages in the generated pdf file.|
Include Activity Information in PDF
When checked, activity information will be prepended to the top of the pdf file.
|Define activities not to be included in this plugin.|
Report bugs Joget Questions website.