### Attaching Action to Event

To configure the notification (or other action) in connection with particular Event:

1. Select the Configuration Director - Event Manager.
2. On the Event Manager submenu click Events. The list of all events that can be tracked in Parallels Business Automation - Standard appears.

   The list of event types displays the following:

   - ID. Event type numerical identifier assigned automatically in Parallels Business Automation - Standard.
   - Event type. The event name, which shortly describes the event point.
   - Object type. The type of an object involved in the event.

     Note: You can narrow the list of events (shown on the Settings screen) down to order-related, subscription-related, etc. using the filter option.

   - Enabled. Green tick - the event type is enabled, red cross - disabled. If an event type is enabled, all events of this type are registered in the events history (Event Manager - Events list) and the actions (if any) associated with the event type are performed. If an event type is disabled, all events of this type are just disregarded by the Event Manager: they are not registered in the events history and no actions are performed.
3. Select the event by clicking on its ID or type. The event details that appear on the screen include two tabs:
   - General Settings tab serves for disabling or enabling the Event tracking (and, accordingly, disabling or enabling all the actions performed in connection with an event).
   - Actions tab serves for selecting or adding action(s) that should be performed in case the given event takes place.

     Note: Not only notifications but many other actions can be associated with system events. For example, such event as expiration of the trial period may be followed with services termination. The set of Actions available depends on the nature of a particular event.

4. Click the Actions tab.

   The appearance of the Actions screen depends upon whether it is possible to circumstantiate the event processing or not. In other words, whether there are different types of an object (invoice, account, or a subscription) involved in the selected event or not.

   For example, there are no classification for invoices. And if you select an invoice-related event, then on the Actions screen you will see the single form named Invoice with the Add Action button. And if you select the subscription-related event, you will see several similar forms (one for subscriptions in general and several ones for different subscription types: Dedicated, Container, Plesk, etc.). This allows attaching separate actions to a subscription in general and some additional actions to particular subscription types.

   The names of already attached actions are shown below the object(s) name(s). You can click on an action name to change it.

   Note: If the event selected allows setting different actions for different types of an object involved in an event, we recommend you first of all check the actions for an object in general and after this configure actions for different object types.

   Any action can be enabled or disabled without respect to whether an event is currently enabled or not.

5. Click the Add Action button. The list of actions available for a given object appears on the screen. The set of actions varies depending on the nature of an object involved in an event. However, three basic actions are available for almost all objects (excluding Application):
   - Run custom script.
   - Action on Account. Note that only one event (namely, "Application license violation") does not allow configuring action on account. This exception is connected with the fact that if an application license capacity is spent it is not possible to install an application in customer Container. This is not customer's fault. And in this case Provider should just order and install additional license for this application.
   - Send e-mail message.
   - SMS notification .Send Instant Message.

   Other actions are available depending on the type of object involved in an event. For example, subscriptions allow performing actions on subscription (e.g., put on hold or activate), and Virtuozzo Container subscription allows performing an action under Container (e.g., start Container, Stop Container, etc.).

6. Set the option button to an action you want to configure and then click the Next button.

In This Section Events List Adding a Script to be Executed on an Event Configuring Action Over Account Configuring E-Mail Notification Configuring SMS Notification

Please send us your feedback on this help page