Interface IActionTriggerGate
The system entity for triggers gates
See https://web.lemonedge.com/help/trigger-gates-view/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: 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 |
---|---|
System.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, (short)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 |
---|---|
System.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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
ActionTriggerID
[Key] Links to IActionTrigger. The parent trigger this gate is active against.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, OldColumnNames = new string[]{"WatcherTriggerID"})]
[EntityRelationship(EntityID.ActionTrigger, "ID", SingleJoinType.One, "Action Trigger", "Gates", DeleteWithRelationship = true, InheritPermissions = true)]
[EntityDescription("The parent trigger this gate is active against.")]
Guid ActionTriggerID { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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)]
[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 |
---|---|
System.Guid |