Article ID: 5813, created on Nov 28, 2008, last review on May 9, 2014

  • Applies to:
  • Business Automation

Question

There are account attributes, for the accounts with the specific value(s) the different kind of the notification is required. How to setup a notification condition?

Answer

  1. Create a new notification template, NEW TEMPLATE, in the PBA Provider Control Panel:

    PBA 5.4: Communication Director > Notification Manager > Notification Templates

    PBA 5.5: System > Settings > Notifications > Notification Templates

    The notification type depends on the aim you are trying to achieve (if this is invoice/payment information to be sent - than ARDoc Notification, if this is some account-specific information - Account Notification, etc), notification shall be active, visible to resellers if applicable.

  2. Add a condition to the notification tempalte created, use the placeholder @@Cust_<attribute_ID>@, replace the <attribute_ID> with the exact ID from Home > System > Settings > Attributes > ID.

    An example of the condition is:

    @@Cust_<attribute_ID>@==<value>
    

    replace <attribute_ID> with id, <value> with a required value. The notification will be sent only to the customers with attribute with id <attribute_ID> equal to <value>

  3. Create a new event handler and assign a new template to it:

    PBA 5.4: Configuration Director > Event Manager Settings > Event Handlers

    PBA 5.5: System > Settings > Events > Event Handlers tab

    Add a new event handler.

    Event Type - choose from a list

    Object - MESSAGE

    Method - depends on what are trying to achieve (examples - OrderNotification for order notifications, ARDocNotification - for the payments), keep in mind correspondence with the notification template type.

    Signature - the first variable depends on the method type (ARDocNotification - integer ARDocID, OrderNotification - integer OrderID, etc)

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF