AMTrigger.Action

Syntax:

%AMTrigger.Action%

Trigger Supported:

Database, File System, Process, Service, Window, SharePoint

Type:

Text (options)

Description:

Returns the specific action that activated the trigger. Return values vary depending on the type of trigger. The tables below describes the available actions for each type of trigger.

Database Trigger Actions

Name

Description

Insert

New data is inserted into the specified database table.

Delete

Data is removed from the specified database table.

Update

Data from the specified database table has changed.

Drop

The specified database table is deleted.

Alter

An alteration is made to the specified database table.

File System Trigger actions

Name

Description

File Added

A file is added to the specified directory.

File Deleted

A file is deleted from the specified directory.

File Renamed

A specific file is renamed.

File Modified

A specific file is modified. (i.e. opened, changed and saved).

Folder Added

A folder is added to the specified directory. This includes creation of a new folder or copying/moving an existing folder into the directory.

Folder Deleted

A folder is deleted from the specified directory.

Folder Renamed

A folder from the specified directory is renamed.

Folder Modified

A folder from the specified directory is modified.

Too Many Files

The total number of files exceeds the amount specified.

Too Many Folders

The total number of folders exceeds the amount specified.

One File Too Big

The size of a folder exceeds the amount specified (in KB).

Folder Too Big

The total size of the folder exceeded the amount specified (in KB).

Process Trigger Actions

Name

Description

Start

Process start.

End

Process end.

Hung

Hung process (i.e. no response from process).

Service Trigger Actions

Name

Description

Start

Service start.

Stop

Service end.

Hung

Hung service (i.e. no response from service which usually occurs during a “starting” or “stopping” state).

Resume

Service resume (i.e. started after a paused state).

Pause

Service pause.

Installed

Installation of service.

SharePoint Trigger Actions

Property

Description

Item added

An item is added to the site/list.

Item Updated

An item in the site/list is updated.

Item Deleted

An item is deleted from the site/list.

Item checked in

An item in the site/list is checked in. You check in a previously checked out item after making changes.

Item checked out

An item in the site/list is checked out. If you check out an item, you will reserve it for your use so that others cannot change it while you are working on it.

Item unchecked out

An item in the site/list is unchecked out (also known as discarded checkout). You can uncheck out an item if you want it to go back to the way it was before you checked it out. This will undo all of the changes that you made to the item.

Item file moved

A file represented by an item from a document library in the site/list is moved.

Item attachment added

An attachment is added to a list item in the specified site/list.

Item attachment deleted

An attachment is deleted from a list item in the specified site/list.

Field added

A field (column) is added to the site/list.

Field updated

A field (column) is updated in the site/list.

Field deleted

A field (column) is deleted from the site/list.

Workflow started

A SharePoint workflow is started.

Workflow postponed

A SharePoint workflow is postponed.

Workflow completed

A SharePoint workflow is completed.

List added

A list is added.

List deleted

A list is deleted.

Group added

A group is added to the site/list.

Group updated

A group is updated in the specified site/list.

Group deleted

A group is deleted from the specified site/list.

Group user added

A user is added to a group in the specified site/list.

Group user deleted

A user is deleted from a group in the specified site/list.

Role definition added

A role definition (or permission level) is added to an item in the specified site/list. A role definition is a collection of rights bound to a specific item.

Role definition updated

A role definition (or permission level) is updated in the specified site/list.

Role definition deleted

A role definition (or permission level) is deleted from an item in the specified site/list.

 

Window Trigger Actions

Name

Description

Open

A specific window opens.

Closed

The specified window closes.

Focused

The specified window comes into focus (brought to the front of all other open windows).

Not Focused

The specified window loses focus (placed behind other open windows).

 

Example:

Display the message "The action that took place to cause the task to trigger: %AMTrigger.Action%" in a message box.

<AMSHOWDIALOG WINDOWTITLE="Trigger Return Value">The action that took place to cause the task to trigger: %AMTrigger.Action%</AMSHOWDIALOG>

See Also:


AMTrigger.Action | AMTrigger.Source | AMTrigger.Table | AMTrigger.Type | AMTrigger.Exename | AMTrigger.Filename