Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BpmnTasks - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BpmnTasks

    The Task property allows the users to define the type of task such as sending, receiving, etc.,.

    Inheritance
    System.Object
    BpmnTasks
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class BpmnTasks : Enum
    Remarks
    The following links can be used in understanding Tasks,
    1. BpmnActivities
    Examples
    <SfDiagram Height="600px" Nodes="@NodeCollection">
    </SfDiagram>
    @code{
       ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
       {
           new DiagramNode()
           {
               OffsetX = 100, Off   setY = 100, Width = 100, Height = 100,
               Shape = new DiagramShape()
               {
                   Type = Shapes.Bpmn, BpmnShape = BpmnShapes.Activity,
                   Activity = new DiagramBpmnActivity()
                   {
                       Activity = BpmnActivities.Task,
                       //Sets the type of the task to BusinessRule
                       Task = new DiagramBpmnTask(){ Type = BpmnTasks.BusinessRule }
                   }
               }
           }
       };
    }

    Fields

    BusinessRule

    Sets the Bpmn task type to BusinessRule.

    Declaration
    public const BpmnTasks BusinessRule
    Field Value
    Type Description
    BpmnTasks

    InstantiatingReceive

    Sets the Bpmn task type to InstantiatingReceive.

    Declaration
    public const BpmnTasks InstantiatingReceive
    Field Value
    Type Description
    BpmnTasks

    Manual

    Sets the Bpmn task type to Manual.

    Declaration
    public const BpmnTasks Manual
    Field Value
    Type Description
    BpmnTasks

    None

    Sets the Bpmn task type to None.

    Declaration
    public const BpmnTasks None
    Field Value
    Type Description
    BpmnTasks

    Receive

    Sets the Bpmn task type to Recieve.

    Declaration
    public const BpmnTasks Receive
    Field Value
    Type Description
    BpmnTasks

    Script

    Sets the Bpmn task type to Script.

    Declaration
    public const BpmnTasks Script
    Field Value
    Type Description
    BpmnTasks

    Send

    Sets the Bpmn task type to Send.

    Declaration
    public const BpmnTasks Send
    Field Value
    Type Description
    BpmnTasks

    Service

    Sets the Bpmn task type to Service.

    Declaration
    public const BpmnTasks Service
    Field Value
    Type Description
    BpmnTasks

    User

    Sets the Bpmn task type to User.

    Declaration
    public const BpmnTasks User
    Field Value
    Type Description
    BpmnTasks

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved