{ "title" : "BPMN 2.0", "namespace" : "http://b3mn.org/stencilset/bpmn2.0#", "description" : "This is the BPMN 2.0 stencil set specification.", "propertyPackages" : [ { "name" : "elementbase", "properties" : [ { "id" : "overrideid", "type" : "String", "title" : "编号", "value" : "", "description" : "元素的唯一标识符.", "popular" : true } ] }, { "name" : "baseattributes", "properties" : [ { "id" : "name", "type" : "String", "title" : "名称", "value" : "", "description" : "BPMN元素的描述性名称.", "popular" : true, "refToView" : "text_name" }, { "id" : "documentation", "type" : "Text", "title" : "说明", "value" : "", "description" : "BPMN元素的描述性名称.", "popular" : true } ] }, { "name" : "diagrambase", "properties" : [ { "id" : "process_id", "type" : "String", "title" : "流程标识", "value" : "process", "description" : "定义流程的唯一标识符.", "popular" : true }, { "id" : "process_author", "type" : "String", "title" : "流程作者", "value" : "", "description" : "定义流程的作者.", "popular" : false }, { "id" : "process_executable", "type" : "Choice", "title" : "可执行", "value" : "Yes", "description" : "定义流程是否可执行.", "popular" : true, "items" : [ { "id" : "no", "title" : "否", "value" : "No" }, { "id" : "yes", "title" : "是", "value" : "Yes" }] }, { "id" : "process_version", "type" : "String", "title" : "流程版本字符串 (仅文档)", "value" : "", "description" : "为了文档的用途的版本标识符.", "popular" : false }, { "id" : "process_namespace", "type" : "String", "title" : "指向命名空间", "value" : "", "description" : "定义流程的指向命名空间.", "popular" : false } ] }, { "name" : "usertaskbase", "properties" : [ { "id" : "formkeydefinition", "type" : "String", "title" : "表单模版", "value" : "", "description" : "用户任务的表单模版.", "popular" : true }, { "id" : "duedatedefinition", "type" : "String", "title" : "到期时间", "value" : "", "description" : "用户任务到期时间.", "popular" : true }, { "id" : "prioritydefinition", "type" : "String", "title" : "优先级", "value" : "", "description" : "用户任务的优先级.", "popular" : true } ] }, { "name" : "usertaskassignment", "properties" : [ { "id" : "usertaskassignment", "type" : "Complex", "title" : "分配", "value" : "", "description" : "分配定义用户任务", "popular" : true, "complexItems" : [ { "id" : "assignment_type", "name" : "类型", "name_de" : "Typ", "type" : "Choice", "value" : "", "width" : 100, "optional" : false, "items" : [ { "id" : "c1", "title" : "代理人(assignee)", "title_de" : "Performer", "value" : "assignee", "refToView" : "" }, { "id" : "c2", "title" : "候选用户(candidateUsers)", "title_de" : "HumanPerformer", "value" : "candidateUsers", "refToView" : "" }, { "id" : "c3", "title" : "候选组(candidateGroups)", "title_de" : "PotentialOwner", "value" : "candidateGroups", "refToView" : "" } ] }, { "id" : "resourceassignmentexpr", "name" : "资源分配表达式", "name_de" : "Zuordnungs-Ausdruck", "type" : "String", "description" : "这定义了用于资源分配的表达.", "description_de" : "Definiert den Ausdruck, der fr die Zordung von Ressourcen genutzt wird.", "value" : "", "width" : 200, "optional" : true } ] } ] }, { "name" : "formdefinition", "properties" : [ { "id" : "formproperties", "type" : "multiplecomplex", "title" : "表单属性", "value" : "", "description" : "用列表的形式定义表单属性", "popular" : true, "complexItems" : [ { "id" : "formproperty_id", "name" : "编号(Id)", "name_de" : "Typ", "type" : "String", "description" : "这里所定义的用于资源分配的表达式.", "description_de" : "Definiert den Ausdruck, der fr die Zordung von Ressourcen genutzt wird.", "value" : "", "width" : 150, "optional" : false }, { "id" : "formproperty_name", "name" : "名称(Name)", "name_de" : "Typ", "type" : "String", "description" : "这里所定义的用于资源分配的表达式.", "description_de" : "Definiert den Ausdruck, der fr die Zordung von Ressourcen genutzt wird.", "value" : "", "width" : 150, "optional" : false }, { "id" : "formproperty_type", "name" : "类型", "name_de" : "Typ", "type" : "Choice", "value" : "", "width" : 100, "optional" : false, "items" : [ { "id" : "c1", "title" : "字符串(string)", "title_de" : "String", "value" : "string", "refToView" : "" }, { "id" : "c2", "title" : "日期(date)", "title_de" : "Date", "value" : "date", "refToView" : "" }, { "id" : "c3", "title" : "长整型(long)", "title_de" : "Long", "value" : "long", "refToView" : "" }, { "id" : "c4", "title" : "布尔(boolean)", "title_de" : "Boolean", "value" : "boolean", "refToView" : "" }, { "id" : "c5", "title" : "枚举", "title_de" : "Enum", "value" : "enum", "refToView" : "" } ] }, { "id" : "formproperty_expression", "name" : "表达式", "name_de" : "Typ", "type" : "String", "description" : "这里所定义的用于资源分配的表达式.", "description_de" : "Definiert den Ausdruck, der fr die Zordung von Ressourcen genutzt wird.", "value" : "", "width" : 200, "optional" : false }, { "id" : "formproperty_variable", "name" : "变量", "name_de" : "Typ", "type" : "String", "description" : "这里所定义的用于资源分配的表达式.", "description_de" : "Definiert den Ausdruck, der fr die Zordung von Ressourcen genutzt wird.", "value" : "", "width" : 200, "optional" : false }, { "id" : "formproperty_required", "name" : "必输", "name_de" : "Typ", "type" : "Choice", "value" : "No", "width" : 100, "optional" : false, "items" : [ { "id" : "yes", "title" : "是", "value" : "Yes" }, { "id" : "no", "title" : "否", "value" : "No" } ] }, { "id" : "formproperty_readable", "name" : "可读", "name_de" : "Typ", "type" : "Choice", "value" : "Yes", "width" : 100, "optional" : false, "items" : [ { "id" : "yes", "title" : "是", "value" : "Yes" }, { "id" : "no", "title" : "否", "value" : "No" } ] }, { "id" : "formproperty_writeable", "name" : "可写", "name_de" : "Typ", "type" : "Choice", "value" : "Yes", "width" : 100, "optional" : false, "items" : [ { "id" : "yes", "title" : "是", "value" : "Yes" }, { "id" : "no", "title" : "否", "value" : "No" } ] }, { "id" : "formproperty_formvalues", "name" : "表单值", "name_de" : "Typ", "type" : "Complex", "width" : 300, "optional" : false, "complexItems" : [ { "id" : "formproperty_formvalue_id", "name" : "主键", "type" : "String", "value" : "", "width" : 100, "optional" : false }, { "id" : "formproperty_formvalue_name", "name" : "名称", "type" : "String", "value" : "", "width" : 200, "optional" : false } ] } ] } ] }, { "name" : "tasklistenersbase", "properties" : [ { "id" : "tasklisteners", "type" : "multiplecomplex", "title" : "任务监听", "value" : "", "description" : "监听用户任务", "popular" : true, "complexItems" : [ { "id" : "task_listener_event_type", "name" : "事件", "type" : "Choice", "value" : "", "width" : 100, "optional" : false, "items" : [ { "id" : "c1", "title" : "创建(create)", "value" : "create", "refToView" : "" }, { "id" : "c2", "title" : "分派(assignment)", "value" : "assignment", "refToView" : "" }, { "id" : "c3", "title" : "完成(complete)", "value" : "complete", "refToView" : "" }, { "id" : "c4", "title" : "所有(all)", "value" : "all", "refToView" : "" } ] }, { "id" : "task_listener_class", "name" : "类", "type" : "String", "description" : "监听类.", "value" : "", "width" : 200, "optional" : true }, { "id" : "task_listener_expression", "name" : "表达式", "type" : "String", "description" : "定义监听表达式.", "value" : "", "width" : 200, "optional" : true }, { "id" : "task_listener_delegate_expression", "name" : "代理表达式", "type" : "String", "description" : "监听代理表达式定义.", "value" : "", "width" : 200, "optional" : true }, { "id" : "task_listener_fields", "name" : "字段", "type" : "Complex", "width" : 100, "optional" : false, "complexItems" : [ { "id" : "task_listener_field_name", "name" : "名称", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "task_listener_field_value", "name" : "值", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "task_listener_field_expression", "name" : "表达式", "type" : "String", "value" : "", "width" : 200, "optional" : false } ] } ] } ] }, { "name" : "servicetaskbase", "properties" : [ { "id" : "servicetaskclass", "type" : "String", "title" : "类", "value" : "", "description" : "实现服务任务逻辑的类.", "popular" : true }, { "id" : "servicetaskexpression", "type" : "String", "title" : "表达式", "value" : "", "description" : "服务任务定义的逻辑与表达式.", "popular" : true }, { "id" : "servicetaskdelegateexpression", "type" : "String", "title" : "委托表达式", "value" : "", "description" : "服务任务定义的逻辑与委托表达式.", "popular" : true }, { "id" : "servicetaskresultvariable", "type" : "String", "title" : "结果变量名称", "value" : "", "description" : "用来存储服务任务结果的变量名.", "popular" : true }, { "id" : "servicetaskfields", "type" : "Complex", "title" : "类字段", "value" : "", "description" : "扩展字段", "popular" : true, "complexItems" : [ { "id" : "servicetask_field_name", "name" : "名称", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "servicetask_field_value", "name" : "字符串值", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "servicetask_field_expression", "name" : "表达式", "type" : "String", "value" : "", "width" : 200, "optional" : false } ] } ] }, { "name" : "scripttaskbase", "properties" : [ { "id" : "scriptformat", "type" : "String", "title" : "脚本格式", "value" : "", "description" : "脚本任务的脚本格式.", "popular" : true }, { "id" : "scripttext", "type" : "Text", "title" : "脚本", "value" : "", "description" : "脚本任务的脚本内容.", "popular" : true } ] }, { "name" : "ruletaskbase", "properties" : [ { "id" : "ruletask_class", "type" : "String", "title" : "类", "value" : "", "description" : "规则任务的类.", "popular" : true }, { "id" : "ruletask_variables_input", "type" : "String", "title" : "输入变量", "value" : "", "description" : "规则任务的输入变量.", "popular" : true }, { "id" : "ruletask_result", "type" : "String", "title" : "输出变量", "value" : "", "description" : "规则任务的输出变量.", "popular" : true }, { "id" : "ruletask_rules", "type" : "String", "title" : "规则", "value" : "", "description" : "规则任务的规则.", "popular" : true }, { "id" : "ruletask_exclude", "type" : "Choice", "title" : "排除", "value" : "否", "description" : "作为排除使用规则属性.", "popular" : true, "items" : [ { "id" : "no", "title" : "否", "value" : "No" }, { "id" : "yes", "title" : "是", "value" : "Yes" } ] } ] }, { "name" : "mailtaskbase", "properties" : [ { "id" : "mailtaskto", "type" : "Text", "title" : "接收人", "value" : "", "description" : "如果是多个收件人,请以逗号分隔.", "popular" : true }, { "id" : "mailtaskfrom", "type" : "Text", "title" : "发送人", "value" : "", "description" : "发件人的电子邮件地址。如果未提供,使用默认配置的发件人地址.", "popular" : true }, { "id" : "mailtasksubject", "type" : "Text", "title" : "主题", "value" : "", "description" : "邮件主题.", "popular" : true }, { "id" : "mailtaskcc", "type" : "Text", "title" : "抄送", "value" : "", "description" : "抄送收件人地址. 如果是多个收件人,请以逗号分隔", "popular" : true }, { "id" : "mailtaskbcc", "type" : "Text", "title" : "密件抄送", "value" : "", "description" : "密件抄送收件人地址. 如果是多个收件人,请以逗号分隔", "popular" : true }, { "id" : "mailtasktext", "type" : "Text", "title" : "内容", "value" : "", "description" : "邮件内容,只能发送纯文本。如果需要发送复杂内容,可以结合使用HTML,客户端不支持复杂内容,邮件将被退回。", "popular" : true }, { "id" : "mailtaskhtml", "type" : "Text", "title" : "Html", "value" : "", "description" : "一段HTML的邮件的内容.", "popular" : true }, { "id" : "mailtaskcharset", "type" : "String", "title" : "字符集(编码格式)", "value" : "", "description" : "修改邮件字符集,是许多除英语之外的语言所必须的. ", "popular" : true } ] }, { "name" : "callactivitybase", "properties" : [ { "id" : "callactivitycalledelement", "type" : "String", "title" : "调用元素", "value" : "", "description" : "流程引用.", "popular" : true }, { "id" : "callactivityinparameters", "type" : "Complex", "title" : "输入参数", "value" : "", "description" : "定入输出参数", "popular" : true, "complexItems" : [ { "id" : "ioparameter_source", "name" : "来源", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "ioparameter_sourceexpression", "name" : "来源表达式", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "ioparameter_target", "name" : "目标", "type" : "String", "value" : "", "width" : 200, "optional" : false } ] }, { "id" : "callactivityoutparameters", "type" : "Complex", "title" : "输出参数", "value" : "", "description" : "定义输出参数", "popular" : true, "complexItems" : [ { "id" : "ioparameter_source", "name" : "来源", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "ioparameter_sourceexpression", "name" : "来源表达式", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "ioparameter_target", "name" : "目标", "type" : "String", "value" : "", "width" : 200, "optional" : false } ] } ] }, { "name" : "sequenceflowbase", "properties" : [ { "id" : "conditionsequenceflow", "type" : "Text", "title" : "流条件", "value" : "", "description" : "顺序流的条件", "popular" : true }, { "id" : "defaultflow", "type" : "Choice", "title" : "默认流", "value" : "None", "description" : "定义作为默认顺序流", "popular" : true, "items" : [ { "id" : "none", "title" : "标准", "title_de" : "Standard", "value" : "None" }, { "id" : "default", "title" : "默认流", "title_de" : "Standardfluss", "value" : "Default", "icon" : "connector/list/type.default.png", "refToView" : "default" } ] }, { "id" : "conditionalflow", "type" : "Choice", "title" : "条件流", "value" : "None", "description" : "定义顺序流的条件", "popular" : true, "items" : [ { "id" : "none", "title" : "标准", "title_de" : "Standard", "value" : "None" }, { "id" : "default", "title" : "条件流", "value" : "Conditional", "icon" : "connector/list/type.expression.png", "refToView" : "conditional" } ] } ] }, { "name" : "cancelactivityattribute", "properties" : [ { "id" : "cancelactivity", "type" : "Choice", "title" : "取消活动", "value" : "yes", "description" : "定义活动取消", "popular" : true, "items" : [ { "id" : "yes", "title" : "是", "title_de" : "Yes", "value" : "yes" }, { "id" : "no", "title" : "否", "title_de" : "No", "value" : "no" } ] } ] }, { "name" : "timerdefinition", "properties" : [ { "id" : "timerdurationdefinition", "type" : "String", "title" : "持续时间(例如PT5M)", "value" : "", "description" : "定义ISO-8601时间定时器", "popular" : true }, { "id" : "timerdatedefinition", "type" : "String", "title" : "采用ISO-8601日期时间", "value" : "", "description" : "定义ISO-8601日期定时器", "popular" : true }, { "id" : "timercycledefinition", "type" : "String", "title" : "时间周期(例如R3/PT10H)", "value" : "", "description" : "定义ISO-8601周期定时器.", "popular" : true } ] }, { "name" : "messagerefdefinition", "properties" : [ { "id" : "messageref", "type" : "String", "title" : "消息引用", "value" : "", "description" : "定义消息名称.", "popular" : true } ] }, { "name" : "signalrefdefinition", "properties" : [ { "id" : "signalref", "type" : "String", "title" : "信号引用", "value" : "", "description" : "定义信号名称.", "popular" : true } ] }, { "name" : "errorrefdefinition", "properties" : [ { "id" : "errorref", "type" : "String", "title" : "错误引用", "value" : "", "description" : "定义错误名称.", "popular" : true } ] }, { "name" : "nonestarteventbase", "properties" : [ { "id" : "initiator", "type" : "String", "title" : "发起者", "value" : "", "description" : "流程的发起者.", "popular" : true }, { "id" : "formkeydefinition", "type" : "String", "title" : "表单主键", "value" : "", "description" : "开始事件的表单主键.", "popular" : true }] }, { "name" : "textannotationbase", "properties" : [ { "id" : "text", "type" : "String", "title" : "内容", "value" : "", "description" : "文本的文字注释.", "popular" : true, "refToView" : "text" } ] }, { "name" : "asynchronousbase", "properties" : [ { "id" : "asynchronousdefinition", "type" : "Choice", "title" : "异步", "value" : "否", "description" : "活动定义为异步.", "popular" : true, "items" : [ { "id" : "no", "title" : "否", "value" : "No" }, { "id" : "yes", "title" : "是", "value" : "Yes" } ] }, { "id" : "exclusivedefinition", "type" : "Choice", "title" : "独家", "value" : "是", "description" : "定义活动为独家.", "popular" : true, "items" : [ { "id" : "no", "title" : "否", "value" : "No" }, { "id" : "yes", "title" : "是", "value" : "Yes" } ] } ] }, { "name" : "executionlistenersbase", "properties" : [ { "id" : "executionlisteners", "type" : "multiplecomplex", "title" : "执行监听器", "value" : "", "description" : "活动,过程,顺序流,开始和结束事件的监听器.", "popular" : true, "complexItems" : [ { "id" : "execution_listener_event_type", "name" : "事件", "type" : "Choice", "value" : "", "width" : 200, "optional" : false, "items" : [ { "id" : "c1", "title" : "开始(start)", "value" : "start", "refToView" : "" }, { "id" : "c2", "title" : "结束(end)", "value" : "end", "refToView" : "" }, { "id" : "c2", "title" : "进行中 (唯一顺序流)(take)", "value" : "take", "refToView" : "" } ] }, { "id" : "execution_listener_class", "name" : "类", "type" : "String", "description" : "监听类", "value" : "", "width" : 200, "optional" : true }, { "id" : "execution_listener_expression", "name" : "表达式", "type" : "String", "description" : "监听器表达式定义.", "value" : "", "width" : 200, "optional" : true }, { "id" : "execution_listener_delegate_expression", "name" : "委托表达式", "type" : "String", "description" : "监听委托表达式定义.", "value" : "", "width" : 200, "optional" : true }, { "id" : "execution_listener_fields", "name" : "字段", "type" : "Complex", "width" : 100, "optional" : false, "complexItems" : [ { "id" : "execution_listener_field_name", "name" : "名称", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "execution_listener_field_value", "name" : "字符串值", "type" : "String", "value" : "", "width" : 200, "optional" : false }, { "id" : "execution_listener_field_expression", "name" : "表达式", "type" : "String", "value" : "", "width" : 200, "optional" : false } ] } ] } ] }, { "name" : "customformdefinition", "properties" : [ { "id" : "customformdefinition", "type" : "Choice", "title" : "自定义表单", "value" : "", "description" : "一个", "popular" : true, "items" : [ { "id" : "1", "title" : "表单 1", "value" : "1" }, { "id" : "2", "title" : "表单 2", "value" : "2" }, { "id" : "3", "title" : "表单 3", "value" : "3" } ] } ] }, { "name" : "loopcharacteristics", "properties" : [ { "id" : "looptype", "type" : "Choice", "title" : "循环类型", "value" : "None", "description" : "重复的活动执行(并行或顺序)可以通过不同类型的循环显示", "popular" : false, "items" : [ { "id" : "c1", "title" : "空", "title_de" : "Keine Schleife", "value" : "None", "refToView" : "none" }, { "id" : "c2", "title" : "标准", "title_de" : "Standard", "value" : "Standard", "icon" : "activity/list/looptype.standard.png", "refToView" : "loop" }, { "id" : "c3", "title" : "MI并行", "title_de" : "MI parallel", "value" : "Parallel", "icon" : "activity/list/mi.parallel.png", "refToView" : "parallel" }, { "id" : "c4", "title" : "MI顺序", "title_de" : "MI sequentialisiert", "value" : "Sequential", "icon" : "activity/list/mi.sequential.png", "refToView" : "sequential" } ] } ] }, { "name" : "activity", "properties" : [ { "id" : "multiinstance_sequential", "type" : "Choice", "title" : "顺序 (多实例)", "value" : "是", "description" : "定义为连续多实例。", "popular" : true, "items" : [ { "id" : "no", "title" : "否", "value" : "No" }, { "id" : "yes", "title" : "是", "value" : "Yes" } ] }, { "id" : "multiinstance_cardinality", "type" : "String", "title" : "基数(多实例)", "value" : "", "description" : "定义多实例的基数。", "popular" : true }, { "id" : "multiinstance_collection", "type" : "String", "title" : "采集(多实例)", "value" : "", "description" : "定义集合的多实例。", "popular" : true }, { "id" : "multiinstance_variable", "type" : "String", "title" : "元素变量(多实例)", "value" : "", "description" : "多实例变量定义的元素。", "popular" : true }, { "id" : "multiinstance_condition", "type" : "String", "title" : "完成条件(多实例)", "value" : "", "description" : "定义多实例的完成条件。", "popular" : true }, { "id" : "isforcompensation", "type" : "Boolean", "title" : "补偿", "value" : "false", "description" : "一个标志标识此活动的目的是否为的补偿的目的.", "popular" : false, "refToView" : "compensation" } ] } ], "stencils" : [ { "type" : "node", "id" : "BPMNDiagram", "title" : "BPMN图表", "description" : "A BPMN 2.0 diagram.", "view" : "diagram.svg", "icon" : "diagram.png", "groups" : [ "Diagram" ], "mayBeRoot" : true, "hide" : true, "propertyPackages" : [ "baseattributes", "diagrambase", "executionlistenersbase" ], "roles" : [ ] }, { "type" : "node", "id" : "StartNoneEvent", "title" : "开始事件", "description" : "A start event without a specific trigger", "view" : "startevent/none.svg", "icon" : "startevent/none.png", "groups" : [ "开始事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "formdefinition", "nonestarteventbase", "executionlistenersbase" ], "roles" : [ "Startevents_all", "sequence_start", "StartEventsMorph", "all" ] }, { "type" : "node", "id" : "StartTimerEvent", "title" : "计时器事件", "description" : "带有计时器的触发事件", "view" : "startevent/timer.svg", "icon" : "startevent/timer.png", "groups" : [ "开始事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "timerdefinition", "executionlistenersbase" ], "roles" : [ "Startevents_all", "sequence_start", "StartEventsMorph", "all" ] }, { "type" : "node", "id" : "StartMessageEvent", "title" : "消息事件", "description" : "带有消息的触发事件", "view" : "startevent/message.svg", "icon" : "startevent/message.png", "groups" : [ "开始事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "messagerefdefinition", "executionlistenersbase" ], "roles" : [ "Startevents_all", "sequence_start", "StartEventsMorph", "all" ] }, { "type" : "node", "id" : "StartErrorEvent", "title" : "错误事件", "description" : "捕获BPMN错误事件", "view" : "startevent/error.svg", "icon" : "startevent/error.png", "groups" : [ "开始事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "errorrefdefinition", "executionlistenersbase" ], "roles" : [ "Startevents_all", "sequence_start", "StartEventsMorph", "all" ] }, { "type" : "node", "id" : "UserTask", "title" : "用户任务", "description" : "任务手动分配给一个特定的人", "view" : "activity/usertask.svg", "icon" : "activity/list/type.user.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "usertaskbase", "usertaskassignment", "formdefinition", "tasklistenersbase", "asynchronousbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "ServiceTask", "title" : "服务任务", "description" : "业务逻辑自动任务", "view" : "activity/servicetask.svg", "icon" : "activity/list/type.service.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "servicetaskbase", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "ScriptTask", "title" : "脚本任务", "description" : "自动脚本逻辑任务", "view" : "activity/scripttask.svg", "icon" : "activity/list/type.script.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "scripttaskbase", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "BusinessRule", "title" : "业务规则任务", "description" : "规则逻辑自动任务", "view" : "activity/businessruletask.svg", "icon" : "activity/list/type.business.rule.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "ruletaskbase", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "ReceiveTask", "title" : "接收任务", "description" : "该任务等待接收", "view" : "activity/receivetask.svg", "icon" : "activity/list/type.receive.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "ManualTask", "title" : "手动任务", "description" : "没有逻辑的自动任务", "view" : "activity/manualtask.svg", "icon" : "activity/list/type.manual.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "MailTask", "title" : "邮件任务", "description" : "邮件任务", "view" : "activity/sendtask.svg", "icon" : "activity/list/type.send.png", "groups" : [ "任务" ], "propertyPackages" : [ "elementbase", "baseattributes", "mailtaskbase", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "ActivitiesMorph", "all" ] }, { "type" : "node", "id" : "SubProcess", "title" : "子流程", "description" : "子流程范围", "view" : "activity/subprocess.expanded.svg", "icon" : "activity/expanded.subprocess.png", "groups" : [ "构造" ], "propertyPackages" : [ "elementbase", "baseattributes", "asynchronousbase", "executionlistenersbase", "loopcharacteristics" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "all" ] }, { "type" : "node", "id" : "EventSubProcess", "title" : "子流程事件", "description" : "子流程事件范围", "view" : "activity/event.subprocess.svg", "icon" : "activity/event.subprocess.png", "groups" : [ "构造" ], "propertyPackages" : [ "elementbase", "baseattributes", "asynchronousbase", "executionlistenersbase" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "all" ] }, { "type" : "node", "id" : "CallActivity", "title" : "呼叫行为", "description" : "呼叫行为", "view" : "activity/callactivity.svg", "icon" : "activity/task.png", "groups" : [ "构造" ], "propertyPackages" : [ "elementbase", "baseattributes", "callactivitybase", "asynchronousbase", "executionlistenersbase", "loopcharacteristics", "activity" ], "roles" : [ "sequence_start", "Activity", "sequence_end", "all" ] }, { "type" : "node", "id" : "ExclusiveGateway", "title" : "排他分支", "description" : "排他分支用来对流程中的决定进行建模", "view" : "gateway/exclusive.databased.svg", "icon" : "gateway/exclusive.databased.png", "groups" : [ "分支" ], "propertyPackages" : [ "elementbase", "baseattributes" ], "roles" : [ "sequence_start", "sequence_end", "GatewaysMorph", "all" ] }, { "type" : "node", "id" : "ParallelGateway", "title" : "并行分支", "description" : "并行分支用来对流程中的并发进行建模", "view" : "gateway/parallel.svg", "icon" : "gateway/parallel.png", "groups" : [ "分支" ], "propertyPackages" : [ "elementbase", "baseattributes" ], "roles" : [ "sequence_start", "sequence_end", "GatewaysMorph", "all" ] }, { "type" : "node", "id" : "InclusiveGateway", "title" : "包容分支", "description" : "包容分支可以被视为是排他分支和并行分支的结合", "view" : "gateway/inclusive.svg", "icon" : "gateway/inclusive.png", "groups" : [ "分支" ], "propertyPackages" : [ "elementbase", "baseattributes" ], "roles" : [ "sequence_start", "sequence_end", "GatewaysMorph", "all" ] }, { "type" : "node", "id" : "EventGateway", "title" : "事件分支", "description" : "事件分支", "view" : "gateway/eventbased.svg", "icon" : "gateway/eventbased.png", "groups" : [ "分支" ], "propertyPackages" : [ "elementbase", "baseattributes" ], "roles" : [ "sequence_start", "sequence_end", "GatewaysMorph", "all" ] }, { "type" : "node", "id" : "BoundaryErrorEvent", "title" : "边界错误事件", "description" : "捕获BPMN错误边界事件", "view" : "intermediateevent/error.svg", "icon" : "catching/error.png", "groups" : [ "边界事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "errorrefdefinition" ], "roles" : [ "sequence_start", "BoundaryEventsMorph", "IntermediateEventOnActivityBoundary" ] }, { "type" : "node", "id" : "BoundaryTimerEvent", "title" : "边界定时器事件", "description" : "定时器触发的边界事件", "view" : "intermediateevent/timer.svg", "icon" : "catching/timer.png", "groups" : [ "边界事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "cancelactivityattribute", "timerdefinition" ], "roles" : [ "sequence_start", "BoundaryEventsMorph", "IntermediateEventOnActivityBoundary" ] }, { "type" : "node", "id" : "BoundarySignalEvent", "title" : "边界信号事件", "description" : "信号触发的边界事件", "view" : "intermediateevent/signal.catching.svg", "icon" : "catching/signal.png", "groups" : [ "边界事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "cancelactivityattribute", "signalrefdefinition" ], "roles" : [ "sequence_start", "BoundaryEventsMorph", "IntermediateEventOnActivityBoundary" ] }, { "type" : "node", "id" : "CatchTimerEvent", "title" : "中间定时器捕获事件", "description" : "定时器触发的捕获事件", "view" : "intermediateevent/timer.svg", "icon" : "catching/timer.png", "groups" : [ "中间捕获事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "timerdefinition", "executionlistenersbase" ], "roles" : [ "sequence_start", "sequence_end", "CatchEventsMorph", "all" ] }, { "type" : "node", "id" : "CatchSignalEvent", "title" : "中间信号捕获事件", "description" : "信号触发的捕获事件", "view" : "intermediateevent/signal.catching.svg", "icon" : "catching/signal.png", "groups" : [ "中间捕获事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "signalrefdefinition", "executionlistenersbase" ], "roles" : [ "sequence_start", "sequence_end", "CatchEventsMorph", "all" ] }, { "type" : "node", "id" : "CatchMessageEvent", "title" : "中间消息捕获事件", "description" : "消息触发的捕获事件", "view" : "intermediateevent/message.catching.svg", "icon" : "catching/message.png", "groups" : [ "中间捕获事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "messagerefdefinition", "executionlistenersbase" ], "roles" : [ "sequence_start", "sequence_end", "CatchEventsMorph", "all" ] }, { "type" : "node", "id" : "ThrowNoneEvent", "title" : "中间空抛出事件", "description" : "中间没有一个具体的触发事件", "view" : "intermediateevent/none.svg", "icon" : "throwing/none.png", "groups" : [ "中间抛出事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "executionlistenersbase" ], "roles" : [ "sequence_start", "ThrowEventsMorph", "sequence_end", "all" ] }, { "type" : "node", "id" : "ThrowSignalEvent", "title" : "中间信号抛出事件", "description" : "中间的信号触发事件", "view" : "intermediateevent/signal.throwing.svg", "icon" : "throwing/signal.png", "groups" : [ "中间抛出事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "signalrefdefinition", "executionlistenersbase" ], "roles" : [ "sequence_start", "ThrowEventsMorph", "sequence_end", "all" ] }, { "type" : "node", "id" : "EndNoneEvent", "title" : "结束事件", "description" : "没有一个具体的触发结束事件", "view" : "endevent/none.svg", "icon" : "endevent/none.png", "groups" : [ "结束事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "executionlistenersbase" ], "roles" : [ "EndEventsMorph", "sequence_end", "all" ] }, { "type" : "node", "id" : "EndErrorEvent", "title" : "结束错误事件", "description" : "抛出一个错误结束事件", "view" : "endevent/error.svg", "icon" : "endevent/error.png", "groups" : [ "结束事件" ], "propertyPackages" : [ "elementbase", "baseattributes", "errorrefdefinition", "executionlistenersbase" ], "roles" : [ "EndEventsMorph", "sequence_end", "all" ] }, { "type" : "edge", "id" : "SequenceFlow", "title" : "顺序流", "description" : "顺序流定义活动的执行顺序.", "view" : "connector/sequenceflow.svg", "icon" : "connector/sequenceflow.png", "groups" : [ "连接对象" ], "layout" : [ { "type" : "layout.bpmn2_0.sequenceflow" } ], "propertyPackages" : [ "elementbase", "baseattributes", "sequenceflowbase" ], "roles" : [ "ConnectingObjectsMorph", "all" ] }, { "type" : "edge", "id" : "Association", "title" : "联系", "description" : "Associates a text annotation with an element.", "view" : "connector/association.undirected.svg", "icon" : "connector/association.undirected.png", "groups" : [ "连接对象" ], "layout" : [ { "type" : "layout.bpmn2_0.sequenceflow" } ], "propertyPackages" : [ "elementbase", "baseattributes" ], "roles" : [ "ConnectingObjectsMorph", "all" ] }, { "type" : "node", "id" : "TextAnnotation", "title" : "文本注释", "description" : "说明文字标注元素.", "view" : "artifact/text.annotation.svg", "icon" : "artifact/text.annotation.png", "groups" : [ "自定义" ], "propertyPackages" : [ "elementbase", "baseattributes", "textannotationbase" ], "roles" : [ "all" ] } ], "rules" : { "cardinalityRules" : [ { "role" : "Startevents_all", "incomingEdges" : [ { "role" : "SequenceFlow", "maximum" : 0 } ] }, { "role" : "Endevents_all", "outgoingEdges" : [ { "role" : "SequenceFlow", "maximum" : 0 } ] } ], "connectionRules" : [ { "role" : "SequenceFlow", "connects" : [ { "from" : "sequence_start", "to" : [ "sequence_end" ] } ] }, { "role" : "Association", "connects" : [ { "from" : "sequence_start", "to" : [ "TextAnnotation" ] } ] }, { "role" : "Association", "connects" : [ { "from" : "TextAnnotation", "to" : [ "sequence_end" ] } ] }, { "role" : "IntermediateEventOnActivityBoundary", "connects" : [ { "from" : "Activity", "to" : [ "IntermediateEventOnActivityBoundary" ] } ] } ], "containmentRules" : [ { "role" : "BPMNDiagram", "contains" : [ "all" ] }, { "role" : "SubProcess", "contains" : [ "sequence_start", "sequence_end", "from_task_event", "to_task_event", "EventSubprocess", "TextAnnotation" ] }, { "role" : "EventSubProcess", "contains" : [ "sequence_start", "sequence_end", "from_task_event", "to_task_event", "TextAnnotation" ] } ], "morphingRules" : [ { "role" : "ActivitiesMorph", "baseMorphs" : [ "UserTask" ], "preserveBounds" : true }, { "role" : "GatewaysMorph", "baseMorphs" : [ "ExclusiveGateway" ] }, { "role" : "StartEventsMorph", "baseMorphs" : [ "StartNoneEvent" ] }, { "role" : "EndEventsMorph", "baseMorphs" : [ "StartNoneEvent" ] }, { "role" : "CatchEventsMorph", "baseMorphs" : [ "CatchTimerEvent" ] }, { "role" : "ThrowEventsMorph", "baseMorphs" : [ "ThrowNoneEvent" ] }, { "role" : "TextAnnotation", "baseMorphs" : [ "TextAnnotation" ] } ] } }