Skip to main content
Version: 3.7

ProcessElementV2 流程元素

1. 结构声明

class ProcessElementV2 extends BaseNode {
name: string = '';
title: string;
description: string;
type: 'StartNoneEvent' | 'EndNoneEvent' | 'SubmitTask' | 'ApprovalTask' | 'ExclusiveGateway' | 'ParallelGateway' | 'SequenceFlow' | 'ConditionalFlow' | 'InitiateTask' | 'ServiceTask';
sourceRef: string;
targetRef: string;
bounds: Rect;
waypoints: Array<Point>;
bindAttrs: Array<BindAttribute>;
fieldPermissions: Array<FieldPermissionV2>;
operatePermissions: Array<OperatePermissionV2>;
flowCondition: FlowConditionV2;
flowPriority: number;
taskTitle: string;
logic: Logic;
bindEvents: Array<BindEvent>;
approvalPolicy: ApprovalPolicyV2;
}