Triggers
  • 06 Aug 2024
  • Dark
    Light
  • PDF

Triggers

  • Dark
    Light
  • PDF

Article summary

Overview

The triggers tab displays available event and cron triggers for the services. View total number of triggers, number of active and inactive triggers.


Event Triggers

Event trigger refers to the process of initiating or activating specific functions or actions within a FaaS system based on the occurrence of predefined events.

The list of event triggers shows the following column details:

FieldsDescription
Trigger NameThe name of the trigger.
StatusActive/Inactive status of the trigger.
FunctionFunction name of the trigger.
PendingThe number of pending executions created by this trigger.
ResourceThe resource name defined in the event trigger.
ActionsThe action defined in the event trigger.
ModeIt displays the trigger execution mode.
Activate/Deactivate Trigger iconA play/pause button to activate or deactivate the event trigger.
Created AtThe trigger creation date.
Updated AtThe trigger update date.
ServiceThe name of the service. Click on it to open the respective service page.
PipelineIt displays the pipeline name if this is a pipeline trigger. Clicking on the link will enable you to view the pipeline page.
Pipeline NodeIt displays the pipeline node name if this is a pipeline trigger.

Cron Triggers

Cron triggers refer to scheduled, time-based triggers used to initiate the execution of functions in a service.

The list of cron triggers shows the following column details:

FieldsDescription
Trigger NameThe name of the trigger.
StatusActive/Inactive status of the trigger.
FunctionFunction name of the trigger.
PendingThe number of pending executions created by this trigger.
Last ScheduleThe creation time of the last execution of the cron trigger.
Next ScheduleThe creation time of the next execution of the cron trigger.
Activate/Deactivate Trigger iconA play/pause button to activate or deactivate the cron trigger.
Created AtThe trigger creation date.
Updated AtThe trigger update date.
ServiceThe name of the service. Click on it to open the respective service page.
PipelineIt displays the pipeline name if this is a pipeline trigger. Clicking on the link will enable you to view the pipeline page.
Pipeline NodeIt displays the pipeline node name if this is a pipeline trigger.

Schema Based Search and Filter

Schema Search is an integral component of the CloudOps, providing users with the capability to refine and narrow down the displayed triggers based on specific criteria. These filters offer a powerful tool for managing and exploring large information efficiently.

Use the smart search field to search triggers by:

Search CriteriaDescriptionConditionsData Types

| Function name | Filter triggers based on the function name. | =, !=, IN, NOT-IN| String |
| Pipeline ID, Name, or Node | Filter logs based on the pipeline ID, name, cycle, and node. | =, !=, IN, NOT-IN| String |
| Trigger ID | Filter logs based on the trigger ID and name. | =, !=, IN, NOT-IN| String |
| Service ID and Name | Filter logs based on the service ID and name. | =, !=, >=, <=, <, >| dd/mm/yyyy |


Details Tab

Click on a trigger will display a right-side panel with the details of the selected trigger, including general details and DQL filter details. Also, it allows you to perform the following trigger actions:
* Copy Trigger ID
* Copy Service ID
* Edit DQL Filter
* Activate/Pause Trigger
* Edit Trigger
* View Trigger Executions
* Delete Trigger

DQL Filter

The DQL filter is available only for Event Triggers. Click on the Pencil icon to edit the DQL code.


Trigger Actions

How to Activate, Pause, or Deactivate a Trigger

  1. Open CloudOps from the left-side menu.
  2. Select the Triggers tab from the list.
  3. Find the trigger and click on the Trigger Actions.
  4. Select:
    1. Pause Trigger: Click on it to pause the trigger that is in active status.
    2. Activate Trigger: Click on it to activate the trigger that is in pause status.

How to Edit a Service Trigger

  1. Open CloudOps from the left-side menu.
  2. Select the Triggers tab from the list.
  3. Find the trigger and click on the Trigger Actions.
  4. Select the Edit Trigger option from the list. It opens the Edit Trigger popup window.
  5. Make the changes and click Install.

For more information on the fields, see the How to Add a Trigger to the Service? article.

How to Copy Trigger ID

  1. Open CloudOps from the left-side menu.
  2. Select the Triggers tab from the list.
  3. Find the trigger and click on the Trigger Actions.
  4. Select the Copy Trigger ID from the list.

How to View Trigger Executions

  1. Open CloudOps from the left-side menu.
  2. Select the Triggers tab from the list.
  3. Find the trigger and click on the Trigger Actions.
  4. Select the View Trigger Executions from the list. It opens the Executions tab of the respective trigger.

How to Delete a Service Trigger

  1. Open CloudOps from the left-side menu.
  2. Select the Triggers tab from the list.
  3. Find the trigger and click on the Trigger Actions.
  4. Select the Delete Trigger option from the list. A confirmation message is displayed.

What's Next