Skip to main content
Jump to: navigation, search

Stardust/Knowledge Base/Integration/Application/Mail


Possibility to decide upon the transitions at a split based on the user response submitted per email.

Model Description

Suppose a decision is to be made about further transition in the process. At this point an email is sent to the user containing some links that the customer follows depending on his decision. Each link corresponds to a certain value of the variable in the model that is used in the split for transition conditions. Following model is used to implement an example of message transformation application:

Stardust Integration Mail.jpg

Hereby the structured data Customer is assigned with a composite type Customer containing following fields of type String: FirstName, LastName. The primitive data Order Amount and Decision are of type String (see MailApplication.xpdl).

Configuration of Mail Application

In general, the configuration of a mail application is described in the corresponding article in the IPP documentation. At this point the necessary steps are summarized and listed in following:

  • Open the properties of the mail application. To test the project running on the local server, type the address of your mail server into Mail Server input line. Otherwise, specify the remote server that is used for sending mails.
  • As URL Prefix, specify the root web address of the application. In case of locally running project type http://localhost:<port>/<projectName> as in the figure below.

Stardust Integration Mail App1 Properties.jpg

  • In the Default Settings-Tab, input the default "From" address (arbitrary address) and default "To" address (valid address of the email recipient).
  • In the Plain Text Template-Tab, input the default text that is contained in the mail. For example:
    Hello,customer {0} {1} has placed an order of US$ {2} which exceeds the customer credit limits. Please decide about 
    further proceeding.

    The numbers in curly braces correspond to the template variables that are used as access points for IN Data Mapping in the model to set the corresponding part of  the mail text dynamically (cf. see documentation).

  • In the Output Values-Tab, specify the possible response messages being listed as links in the mail content. The text of the link is specified in the Name column. The value being passed to the process continuation as the return value of the mail application is specified in the Value column. However, the text of the link in the mail is displayed as specified in the Name column only if HTML format is active (flag on the checkbox HTML is set). Note that the entries in the column Value are used in transition conditions in the model (cf. split behavior of the activity Mail Approval in the model).

Back to the top