Skip to main content

Email actions

In the Actions section, you will find an overview of all system-internal events where OpenVLE can automatically send emails.
Each action represents a specific event in the system -- such as the creation of a virtual machine, the start of an event, or the end of an event.
By assigning an email template to an action, you define which message is sent in that case.

If no email template is assigned to an action, no email is sent when that action occurs.


Where can I find this section?

Navigation:
Via main menu: Emails → Actions
Alternatively accessible via: Linked from email templates

Features at a glance

  • Display all email actions available in the system
  • Assign or change the email template used per action
  • Quick overview of which actions currently send emails
  • Edit assigned templates directly from the action view

Important fields at a glance

Field nameDescription
DescriptionBrief description or version information of the action, including the permitted email variables.
NameDisplay name of the action in the interface. Describes when the action is triggered, e.g. "Event is being deployed".
SlugInternal name of the action, e.g. "events_post_deployment_success". Used system-internally.

Currently available email actions

info

The following actions within OpenVLE currently trigger automatic emails.

Events

NameSlugDescription
Event successfully deployedevents_post_deployment_successNotifies all participants (instructors and students) that the event has been successfully deployed and is now available.
Event could not be archivedevents_post_decommission_failedInforms the event admins that the archival of the event has failed and manual intervention may be required.
Event could not be deployedevents_post_deployment_failedNotifies the event admins that the deployment of the event has failed. May contain technical details or troubleshooting hints.
Event is being archivedevents_decommission_startedInforms all participants (instructors and students) that the event is currently being archived and will no longer be accessible.
Event will start soonevents_pre_startSends a reminder to all participants (instructors and students) that the event will start shortly. May contain credentials or organizational information.
Event is being deployedevents_deployment_startedInforms the event admins that the deployment of the event has begun. Serves for deployment status tracking.
Event will be archived soon (instructors)events_pre_end_adminNotifies only the instructors that the event will be archived soon, with the option to make last changes or downloads beforehand.
Event will be archived soon (students)events_pre_end_studentInforms only the students that the event will be archived soon and that materials or results should be saved beforehand.
Event was successfully archivedevents_post_decommission_successConfirms to the event admins that the archival was completed successfully.
Event was deletedevents_deleteNotifies the event admins that the event has been completely deleted. May contain confirmation or log information.

Virtual Machines

NameSlugDescription
VirtualMachine could not be deployedvm_create_failedInforms that a virtual machine could not be created during deployment. Contains technical error details.
VirtualMachine could not be deletedvm_delete_failedNotifies that the deletion of a virtual machine has failed. May contain hints for manual cleanup.
VirtualMachine is being deletedvm_delete_startedSends a status message that the deletion process of a virtual machine has been started.
VirtualMachine was successfully deployedvm_create_successNotifies that the virtual machine was successfully created and is ready for use.

Assigning an email template

  1. Open the Emails → Actions section from the main menu.
  2. Find the desired action in the list.
  3. Open the action.
  4. Switch to the Email templates tab and click Assign.
  5. Find the desired email template and select it.
  6. Save the assignment.
info

When an action has one email template assigned, this is indicated in the detail view of the email template by a green icon in the upper right corner.


Removing an email template

  1. Open the Emails → Actions section from the main menu.
  2. Find the desired action in the list.
  3. Open the action.
  4. Switch to the Email templates tab.
  5. Click Remove on the email template you want to unassign, or open the context menu and select Remove.
  6. Confirm the action in the displayed dialog.
info

When an action has no email template assigned, this is indicated in the detail view of the email template by a red icon in the upper right corner.


Example or use case

Example: Email action for deployed virtual machines

After the creation of a new virtual machine, an email should be sent automatically. Open the action "VirtualMachine was successfully deployed" in the Emails → Actions section and assign the template "VirtualMachine was successfully deployed" to it. From now on, this email will be automatically sent whenever a new virtual machine is created.


Notes / special considerations

  • Actions are predefined by the system and cannot be manually created or deleted.
  • If no template is assigned to an action, no email dispatch takes place.
  • Changes to the assigned template take effect immediately for future events.
  • Actions are typically grouped by area (e.g. users, environments, events, system).
  • Some actions are purely internal and serve for logging, without a dispatch function.

Relationships to other objects

Many objects in OpenVLE are related to other elements within the system. The following overview shows which relationships exist and whether they trigger certain automations.

ObjectDescriptionAutomatic behavior
Email templatesAny number of email templates can be assigned to an action.No automations.

Required permissions

The permissions required for actions can be assigned via roles or individually. If you lack certain rights, the corresponding functions in the user interface are hidden or disabled.

ActionRequired permissionPathAdditional information
View email templatesmailtemplates_read/ or /<objectID>
Edit email templatesmailtemplates_update/