Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:a:send [2022/09/01 01:23] – ↷ Page moved from a_f:3100_actions:send to a_f:a:send administratora_f:a:send [2023/05/09 01:45] (current) sean
Line 1: Line 1:
-{{tag>Actions Action_List Service Process Business_Rule}}+{{tag>Index Action Action_List Service Process Business_Rule}}
 ====== SEND ====== ====== SEND ======
  
Line 10: Line 10:
 ===== Example ===== ===== Example =====
  
-<code aim>SEND ReservationOfferEmail TO Reservation.Member</code>+<code aim>SEND ReservationOfferEmail TO Reservation.Member </code>
  
 Note that the receiver of the notification must be an intelligent business object with active communication channels. Note that the receiver of the notification must be an intelligent business object with active communication channels.
Line 16: Line 16:
 The ''VIA'' keyword can be used to indicate the specific channel through which the notification will be sent, for example  The ''VIA'' keyword can be used to indicate the specific channel through which the notification will be sent, for example 
  
-<code aim>SEND ReservationOfferNotification TO Reservation.Member VIA Email</code>+<code aim>SEND ReservationOfferNotification TO Reservation.Member VIA Email </code>
  
 If the ''VIA'' keyword is not specified, the default channel of the business object is used. If the ''VIA'' keyword is not specified, the default channel of the business object is used.
Line 22: Line 22:
 The ''USING'' keyword can be used to send emails using a particular email account, for example: The ''USING'' keyword can be used to send emails using a particular email account, for example:
  
-<code aim>SEND ReservationOfferNotification TO Reservation.Member USING EmailAccount</code>+<code aim>SEND ReservationOfferNotification TO Reservation.Member USING EmailAccount </code>
  
 Here the instance of the EmailAccount object is taken from the Context and it should contain email account values to use when sending an email (host server, port, authentication details etc). Therefore, the object representing an account must have certain attributes defined. The definition of such an object can be created in the Configuration Tool using the “Add Outgoing Email Account” command. Here the instance of the EmailAccount object is taken from the Context and it should contain email account values to use when sending an email (host server, port, authentication details etc). Therefore, the object representing an account must have certain attributes defined. The definition of such an object can be created in the Configuration Tool using the “Add Outgoing Email Account” command.
Line 30: Line 30:
 For example, For example,
  
-<code aim>SEND Reply TO EmailSender</code>+<code aim>SEND Reply TO EmailSender </code>
  • Last modified: 2022/09/13 18:11