Docs
  • Getting Started
  • Overview
    • Understanding
      • User-Interface
      • Shortcuts
    • Getting Started
      • Creating A New Application
      • Adding Basic Structure using Class Designer
      • Creating a link to the TIVITY File Class
      • Setting Rights
      • Creating Queries
      • Building The Layout
        • Creating an App Page
        • Creating an Object Page
        • Creating a List Item Layout
  • Building an Application
    • Application Setup
      • General
      • Documentation
      • License Management
      • Publishing the Application
      • Advanced Settings
        • Document-MailEditor
    • Data
      • Sources
      • Data Modelling
        • Class
        • Field
        • Action
        • Link
      • Query Data
        • Get Started with Query Designer
        • Common
        • Fields
        • Conditions
        • Default Values
        • Preview
      • Roles & Permissions
        • Rights Designer
      • Access Control Lists (ACL)
    • Views
      • Design UI
        • Page Types
        • Fields and Links
        • Layout Controls
          • Actions
          • Panels
          • Sections
          • Lists
          • Input
        • Layout Templates
      • Document Templates
        • Get started with Template Designer
        • Expressions in Templates
    • Execution
      • Functions
      • Workflows
        • Control Types
      • Trigger
      • Scripting
        • Accessing the Script Designer
        • Using the Script Designer
        • Commonly used Actions
        • Reference: Actions
          • Math
          • System
          • Date
          • Collection
          • LogicalOperators
          • Web
          • Structure
          • Constants
          • Converters
          • Commands
          • Text
          • PDF
          • Operators
          • PowerPoint
          • QR-/Barcode
          • Messaging
          • Cells
          • Xml
          • Admin
          • Integrations
    • Expressions
      • Expressions in Expressions
      • Expressions in Condition Values
  • Administration
    • Platform
    • Workspace
    • Security
    • Platform Setup
  • Extensibility and Integration
    • REST API
    • Source Adapter
      • Getting Started
      • Source Adapter Interface
      • RESTful Adapter Service
  • Adapter Portfolio
    • MongoDB Adapter
  • Platform Features
    • Enterprise Search
      • Integration into an App
      • General Settings
    • Templates
    • Tagging
      • Getting Started
      • Manage Tags
      • Settings
      • Usage
        • Tag filter
        • Tag panel
    • DMS Setup
Powered by GitBook
On this page
  • Overview
  • Getting started
  • Trigger configuration
  • General
  • Trigger
  • Building your trigger
  • Hook
  • Time
  • Workflow
  • Validate and save

Was this helpful?

  1. Building an Application
  2. Execution

Trigger

This section covers how trigger can be created and customized on the platform to trigger for operations in an application.

PreviousControl TypesNextScripting

Last updated 4 years ago

Was this helpful?

Overview

Trigger is a mechanism that initiates an action when an event occurs such as reaching a certain time or date or upon receiving some type of input. A trigger generally causes a workflow to be executed.

For instance, your application could execute a workflow at a specific time.

Getting started

Navigate to your Workspace > Apps and click on the gear icon to activate the configuration mode of your applications. Next, click on the gear icon of the application you wish to configure. In the Execution section you click on Trigger to access the Trigger Designer. When you open the designer, as in other designers, the management window opens with the list of all created triggers.

Using the trigger management window, you can clone or delete existing trigger or create new trigger for your application.

Trigger configuration

The trigger configuration window is divided in two sections, the trigger property fields and a section to configure the trigger.

General

General configuration define the basic properties of your trigger with some descriptive information such as name and description.

Trigger

In the trigger section, the kind of trigger is defined and the class assigned to the trigger is selected. The available trigger kinds are:

  • Hook

  • Time

The class selection is compulsory when creating a trigger.

Building your trigger

As mentioned before, there are two types of triggers that differ in the configuration settings.

Hook

With a hook as a trigger, an insertion method, or specifically a workflow is executed (triggered) on a particular action.

Multiple hooks can be added to each trigger. A hook consists of the properties hook kind and a list of conditions. The kind of the hook is the action that will trigger this trigger when executed. Possible actions are create, update and delete. In the list of conditions, the conditions are entered that must be fulfilled when the action is executed. If the conditions are not fulfilled, the configured workflow will not be executed either.

Time

If Time is selected as the type of hook, the start time for execution of a workflow can be selected. Also several times can be added.

Workflow

In the workflow tab, a workflow of the previously configured class can be selected. This workflow will be executed whenever this trigger is released. From the context menu on the right side of the selection field you can create a new workflow, edit the selected workflow and reload the list.

Validate and save

You can also check the validity of your trigger configuration by selecting the Validate option or save your current configuration by selecting Save from the bottom menu.

Validation errors are displayed as toast notification at the top of the platform interface.

In case your trigger is invalid, the system will not allow it to be saved.

Trigger Designer
Trigger configuration
Trigger hooks
Trigger time
Trigger workflow
Validation error