Our customers often ask for various processes for sending an SMS/email to the end user. |
||||
----Possibilities
|
||||
----Prerequisites |
Basic (1.th) version:
|
Fully updated version:
|
Common:
|
|
|
||||
Getting started |
PARAMETER |
DESCRIPTION |
||
TEMPLATE_KEY=MY_TEMPLATE |
Defines the MailTemplate to use |
|||
TEMPLATE_TYPE=EMAIL |
Defines that the DynamicSender should generate an email |
|||
REPLACE_EMPTY_LABELS=TRUE |
Setting this to true means that not handled labels will never be shown as **LABEL@MY_LABEL**, but will become an empty string |
|||
TEMPLATE_TO="aa@bb.cc" |
An email address speficied in double quotes, means that the default receiver (sub.getOwner().getEmail()) will be overruled |
|||
LABEL_WEB_ADR="www.mywebsite.com" |
This label with a fixed value can be be reused several plced in the template. |
|||
LABEL_PIN_CODE=SUBSCRIPTION.getService.getSimCard.getPin1 |
This label can be used in the template for showing the PIN code for the simcard |
|||
WORK_SIGNUP_DATE=SUBSCRIPTION.getEstablishDate |
Tmp object that holds the signup date (used later) |
|||
WORK_DATE_FORMAT=dd-MM-yyyy |
Tmp object that holds a date format (used later) |
|||
LABEL_SIGNUP_DATE=DATE_UTIL.getFormatedDate(WORK_SIGNUP_DATE,WORK_DATE_FORMAT) |
Producing a label with signup date in format dd-MM-yyyy |
|||
WORK_BOOLEAN=true |
Tmp object that holds a boolean (used later) |
|||
CONDITION_IS_TEST=COMMON_UTIL.getBoolean(WORK_BOOLEAN) |
A condition that can be used in the template |
|||
WORK_DOC_CODE=INVOICE |
Tmp object that holds the type of item in DOC_ARCHIVE (used later) |
|||
ATTACHMENT_INVOICE=INVOICE.getDocArchive(WORK_DOC_CODE).getDocArchiveFile |
Locate a PDF file from the DocArchive based on an invoice found in wf CONTEXT |
|||
ATTACHMENT_SOME_FILE="C:/rator/files/somefile.txt" |
Locate a file placed on C drive, which will also be an attachment in the email |
|
||
|
|
Visualization |
|
|
What the MailTemplate could contain: |
General
Content
Integrations