Search Results for

    Show / Hide Table of Contents

    Interface IActionTriggerGate

    The system entity for triggers gates

    See https://help.lemonedge.com/help/settings/open-architecture/triggers/gates-view.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.ActionTriggerGate, "dbo.LT_ActionTriggerGates", "ActionTriggerGate", IsStandingDataEntity = true)]
    [DefaultEntityIcon(ImageType.ConditionalGate)]
    public interface IActionTriggerGate : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    ActionItemProperty

    If the Entity Type is different then the Trigger Entity Type, then this holds the Property on the Entity Type of this gate that relates the Entity Type to the Trigger Entity Type.

    In other words you Trigger maybe against a Transaction, and this gate could be checking for certain GL Posting records which would use an Action Item Property of TransactionID which would relate the GLPostings back to the Transaction for this Trigger.

    Declaration
    [EntityProperty(SQLType.NVarChar, true, OldColumnNames = new string[] { "NotifyItemProperty" })]
    [EntityDescription("Specifies the property that links to the item this action is against. If blank (by default) it will be the item that automatically triggered this action.")]
    string ActionItemProperty { get; set; }
    Property Value
    Type Description
    string

    ActionOnActionMatch

    Indicates this Gate is evaluated if the Trigger task has a specific Action Match value. The values can be hand entered by users when manually starting a Trigger Task.

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, true, OldColumnNames = new string[] { "NotifyOnActionMatch" })]
    [EntityDescription("Indicates this trigger is activated if the realted item has the specified action string.")]
    string ActionOnActionMatch { get; set; }
    Property Value
    Type Description
    string

    ActionOnDelete

    Indicates this Gate is evaluated if the Entity Type specified has been Deleted

    Declaration
    [EntityProperty(SQLType.Bit, false, OldColumnNames = new string[] { "NotifyOnDelete" })]
    [EntityDescription("Indicates this trigger is activated if the related item was just deleted.")]
    bool ActionOnDelete { get; set; }
    Property Value
    Type Description
    bool

    ActionOnInsert

    Indicates this Gate is evaluated if the Entity Type specified has been Inserted

    Declaration
    [EntityProperty(SQLType.Bit, false, OldColumnNames = new string[] { "NotifyOnInsert" })]
    [EntityDescription("Indicates this trigger is activated if the related item was just created.")]
    bool ActionOnInsert { get; set; }
    Property Value
    Type Description
    bool

    ActionOnUpdate

    Indicates this Gate is evaluated if the Entity Type specified has been Updated

    Declaration
    [EntityProperty(SQLType.Bit, false, OldColumnNames = new string[] { "NotifyOnUpdate" })]
    [EntityDescription("Indicates this trigger is activated if the related item was just updated.")]
    bool ActionOnUpdate { get; set; }
    Property Value
    Type Description
    bool

    ActionTriggerID

    [Key] Links to IActionTrigger. The parent trigger this gate is active against.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, OldColumnNames = new string[] { "WatcherTriggerID" })]
    [RequiredNoDefaultIDValidation]
    [EntityRelationship(EntityID.ActionTrigger, "ID", SingleJoinType.One, "Action Trigger", "Gates", DeleteWithRelationship = true, InheritPermissions = true)]
    [EntityDescription("The parent trigger this gate is active against.")]
    [EntityKeyProperty]
    Guid ActionTriggerID { get; set; }
    Property Value
    Type Description
    Guid

    ActionWhen

    Indicates this trigger should only be activated when this specified formula passes.

    Declaration
    [EntityProperty(SQLType.NVarChar, true, OldColumnNames = new string[] { "NotifyWhen" })]
    [EntityDescription("Indicates this trigger should only be activated when this specified formula passes.")]
    string ActionWhen { get; set; }
    Property Value
    Type Description
    string

    EntityTypeID

    [Key] The type of entity in the system that you want to perform a check on for this Trigger to be active. This can be the same type as the Trigger Entity Type itself, or a different one that is related to the Trigger Entity Type.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    [RequiredNoDefaultIDValidation]
    [EntityKeyProperty]
    [EntityDescription("The type of entity in the system that you want to perform a check on for this Trigger to be active. This can be the same type as the Trigger Entity Type itself, or a different one that is related to the Trigger Entity Type.")]
    Guid EntityTypeID { get; set; }
    Property Value
    Type Description
    Guid

    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

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