NF10 Workflow EMail Enhancement
From iDempiere en
Feature: Workflow EMail Notification Enhancements
Goal: Functional
Feature Ticket: IDEMPIERE-5261
Description:
Make attachment of PDF document to Workflow EMail Notification optional.
Add bean property access to Mail Template.
Changes:
- Add Attached Document flag to Workflow Node tab. Visible when Action is EMail. Checked to attached PDF document to EMail (existing behavior) and unchecked to send EMail without attachment.
- Add bean property access to Mail Template with the @=<bean property name>@ notation. For e.g, @=summary@ (@=Summary@ works too, you can use upper or lower case for first character of the bean property name and it is case sensitive after the first character) for getSummary() of MOrder.
- Add context variable (@...@) support to Subject field of Mail Template. Access is provided to global variables (for e.g @#AD_Client_ID@), PO column (for e.g, @DocumentNo@) and bean property (for e.g @=summary@)
- Add support for a fake context variable @_noDocInfo_@ When this variable is present on the subject or the text of the mail template, then, no extra information is added by the workflow processor.