Interface IActionTrigger
The system entity for triggers
See https://help.lemonedge.com/help/settings/open-architecture/triggers/intro.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Workflow
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.ActionTrigger, "dbo.LT_ActionTriggers", "ActionTrigger", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/settings/open-architecture/triggers/intro.html")]
[EntityDefinitionOldInfo(EntityID.ActionTrigger, "dbo.WatcherTriggers", "WatcherTrigger")]
[DefaultEntityIcon(ImageType.Trigger)]
public interface IActionTrigger : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityTypeID
The type of entity this Trigger operates against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[RequiredNoDefaultIDValidation]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Name
[Key] The unique name of this Trigger
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityKeyProperty]
[EntityDescription("The unique name of this Trigger.")]
[Unique]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
TriggeredActionID
The type of action to use when this Trigger is executed
All trigger types inherit from BaseTriggerTask
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, "'00000000-0000-0000-0000-000000000000'")]
[RequiredNoDefaultIDValidation]
Guid TriggeredActionID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TriggeredActionParameter
Any custom parameters for this trigger action TriggeredActionID
Declaration
[EntityProperty(SQLType.NVarChar, true)]
string TriggeredActionParameter { get; set; }
Property Value
Type | Description |
---|---|
string |