Search Results for

    Show / Hide Table of Contents

    Interface IActionTrigger

    The system entity for triggers

    See https://help.lemonedge.com/help/settings/open-architecture/triggers/intro.html for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(object)
    ICloneableAsync.CopyFromSource(object)
    ICanTrackProperties.HasTrackedPropertyChanged(string)
    ICanTrackProperties.OriginalTrackedPropertyValue(string)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(string)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    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

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    IActionTriggerGate
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.