BPaaS 17.3
The EPC element E-Mail is used to dispatch e-mails automatically out of the process. In the element you can define which recipients and e-mail content you send, but also which attachments shall be dispatched. Modelers have three options to determine attachments for an e-mail:
If you wish to dispatch an unchangeable file as attachment, you may use the EPC element Document. One file can be uploaded into each Document element. Multiple Document elements can be attached to a Function with e-mail.
The name of the Document element is used as name for the attachment. Please also insert the file type ending into the name of the document in order to ensure correct display in the e-mail and to enable opening with the corresponding software. |
Example: Sending information documents to a new employee
In the ACME Onboarding Process a new employee is entered into the system. Subsequently all involved departments complete the necessary preparations for the new employee's first work day. Irene Adler would like to send an information email to the new colleague once the preparations are finished. The documents Information First Work day.pdf and How to find ACME office.pdf shall be attached. Irene models the new function Informing new employee to the current process end and attaches an e-mail element. She then saves a text template in the element option Content Template. | |
The email sent to the new employee shall contain two attachments. Since the documents Information First Work day.pdf and How to find ACME office.pdf are the same for each new employee, Irene is able to use the Document element. She opens the category Structuring in the Sidebar New Elements and adds two Document elements. | |
The elements are attached to the same Function as the E-Mail element. The attachments contain the name entered for each document element. Since both documents are PDF files, Irene Adler adds the ending .pdf:
| |
Irene can upload one file per document element. | |
Once the preparations for an employee's first workday are finished, he now receives an automated e-mail containing both attachments in PDF format. |
The e-mail element contains the option Attachments. Here you may also define files to be dispatched with an e-mail. This field is mostly used for files and documents created during the course of the process and are available in the container. |
Multiple input is possible in field Attachments:
Example: Dispatch of an uploaded file
|
Modeler with programming skills may also use the Function: Determine attachments to define e-mail attachments. The function provides an editor where JavaScript code can be saved to determine the files that should be attached to the e-mail.
If you use the Function: Determine attachments, input in field Attachments is ignored. |