Class ActionTrigger
Implements
Inherited Members
Namespace: LemonEdge.API.Entities.Workflow
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class ActionTrigger : BaseEntityWithPermissions, IActionTrigger, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IActionTrigger>
Constructors
ActionTrigger()
Declaration
public ActionTrigger()
Properties
EntityTypeID
The type of entity this Trigger operates against
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Name
[Key] The unique name of this Trigger
Declaration
[Unique]
[Required]
[StringLength(500)]
public 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
[RequiredNoDefaultIDValidation]
public Guid TriggeredActionID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TriggeredActionParameter
Any custom parameters for this trigger action TriggeredActionID
Declaration
public string TriggeredActionParameter { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | src |
Overrides
CopyFromSource(IActionTrigger)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IActionTrigger source)
Parameters
Type | Name | Description |
---|---|---|
IActionTrigger | source | The source object to copy all values from. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |