Create and Edit Trigger

M.App Enterprise Workflow Editor User Guide

HGD_Variant
16.1
HGD_Product
M.App Enterprise
HGD_Portfolio_Suite
M.App Portfolio

Use a workflow Trigger node to define Pre-Actions and After-Actions. A Trigger node is a subitem in the respective Workflow node.

When you have a Workflow node selected and click the add_trigger_btn button, a Trigger node is created. The TOOLBOX panel shows all available Trigger elements. The Schematic panel shows your current triggers in use.

There are three methods that can be used for the trigger:

  • Before
  • Action
  • After

The PROPERTIES panel shows all possible properties for the selected element.

newtrigger

light_bulb_icon You can define triggers for every controller in your workflow, but the available list does not change.

LogTrigger

Element that allows a user to log a message. Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options:

Message

What message should be logged. Options:

MailTrigger

Element that allows a user to send an email message. Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options:

From

Defines the mail address of the sender. Options:

Recipients

Defines the mail address(es) of the mail receiver(s). Options:

CC

Defines the mail address(es) of the receiver(s) that should get a Carbon Copy of the mail. Options:

Bcc

Defines the mail address(es) of the receiver(s) that should get a Carbon Copy of the mail, but the other receivers do not see these mail addresses. Options:

Subject

Set the mail subject. Options:

Body

Set the content of the mail. Options:

IsBodyHtml

Define if the body is in HTML or not. Options:

Priority

Defines the priority of the mail. Options:

Attachments

Defines attachments for the mail. Options:

RemoveSessionTrigger

Remove key / value pairs from the active session. Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options:

Key

Defines the one value, which can be removed from the session. Options:

SessionArrayTrigger

Add key / value pairs into the active session. Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options:

SessionTrigger

Add key / value pairs into the active session. Available properties:

Property

Description

Name

Unique name for the trigger. Possible options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Possible options:

SQLFileIteratorTrigger

Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options:

SQLIteratorTrigger

Execute SQL for each array placeholder referenced in the SQL statement. Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options:

SQL

You can set the sql statement. Options:

SQLTrigger

The After method trigger fires after the node has been processed, for example, after a save action. First the trigger checks if a certain condition is valid and then it executes the defined SQL Statement.

The Action method trigger fires after a button action. First the trigger checks if a certain condition is valid and then it executes the trigger.

Available properties:

Property

Description

Name

Unique name for the trigger. Options:

  • Direct input (only static values)

Condition

Condition defines if the trigger is accessible or not. Options: