Class BpmnTriggers
The Trigger property of the node allows the user to set the type of BPMN trigger. Triggers are notated as icons inside the circle.
Inheritance
System.Object
BpmnTriggers
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class BpmnTriggers : Enum
Remarks
The Trigger members can be set to any one of the BPMN events. |
The following code snippet is an example to set Trigger to NonInterruptingIntermediate Bpmn event. |
Examples
<SfDiagram Height="600px" Nodes="@NodeCollection">
</SfDiagram>
@code{
//Initialize the node collection with node
ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
{
new DiagramNode()
{
OffsetX = 100, OffsetY = 100, Width = 100, Height = 100,
Shape = new DiagramShape()
{
Type = Shapes.Bpmn, BpmnShape = BpmnShapes.Event,
// Set the event type to NonInterruptingIntermediate and set the trigger as message
Event = new DiagramBpmnEvent() { Event = BpmnEvents.NonInterruptingIntermediate }
}
}
};
}
Fields
Cancel
Sets the type of the trigger as Cancel.
Declaration
public const BpmnTriggers Cancel
Field Value
Type | Description |
---|---|
BpmnTriggers |
Compensation
Sets the type of the trigger as Compensation.
Declaration
public const BpmnTriggers Compensation
Field Value
Type | Description |
---|---|
BpmnTriggers |
Conditional
Sets the type of the trigger as Conditional.
Declaration
public const BpmnTriggers Conditional
Field Value
Type | Description |
---|---|
BpmnTriggers |
Error
Sets the type of the trigger as Error.
Declaration
public const BpmnTriggers Error
Field Value
Type | Description |
---|---|
BpmnTriggers |
Escalation
Sets the type of the trigger as Escalation.
Declaration
public const BpmnTriggers Escalation
Field Value
Type | Description |
---|---|
BpmnTriggers |
Link
Sets the type of the trigger as Link.
Declaration
public const BpmnTriggers Link
Field Value
Type | Description |
---|---|
BpmnTriggers |
Message
Sets the type of the trigger as Message.
Declaration
public const BpmnTriggers Message
Field Value
Type | Description |
---|---|
BpmnTriggers |
Multiple
Sets the type of the trigger as Multiple.
Declaration
public const BpmnTriggers Multiple
Field Value
Type | Description |
---|---|
BpmnTriggers |
None
Sets the type of the trigger as None. None is the default value for the trigger.
Declaration
public const BpmnTriggers None
Field Value
Type | Description |
---|---|
BpmnTriggers |
Parallel
Sets the type of the trigger as Parallel.
Declaration
public const BpmnTriggers Parallel
Field Value
Type | Description |
---|---|
BpmnTriggers |
Signal
Sets the type of the trigger as Signal.
Declaration
public const BpmnTriggers Signal
Field Value
Type | Description |
---|---|
BpmnTriggers |
Terminate
Sets the type of the trigger as Termination.
Declaration
public const BpmnTriggers Terminate
Field Value
Type | Description |
---|---|
BpmnTriggers |
Timer
Sets the type of the trigger as Timer.
Declaration
public const BpmnTriggers Timer
Field Value
Type | Description |
---|---|
BpmnTriggers |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |