Skip to content

extension

Represents an Extension.

CLASS DESCRIPTION
Extension

The Extension element binds/imports an ExtensionDefinition and its attributes to a BPMN model definition.

Classes

Extension dataclass

Extension(
    *,
    documentation: list[Documentation] = list(),
    definition: Optional[str] = None,
    must_understand: bool = False
)

The Extension element binds/imports an ExtensionDefinition and its attributes to a BPMN model definition.

ATTRIBUTE DESCRIPTION
definition

Defines the content of the extension.

TYPE: Optional[str]

documentation

This attribute is used to annotate the BPMN element, such as descriptions and other documentation.

TYPE: list[Documentation]

must_understand

This flag defines if the semantics defined by the extension definition and its attribute definition MUST

TYPE: bool

Attributes

definition class-attribute instance-attribute
definition: Optional[str] = field(
    default=None, metadata={"type": "Attribute", "is_reference": True}
)

Defines the content of the extension.

Note that in the XML schema, this definition is provided by an external XML schema file and is simply referenced by QName.

documentation class-attribute instance-attribute
documentation: list[Documentation] = field(
    default_factory=list,
    metadata={
        "type": "Element",
        "namespace": "http://www.omg.org/spec/BPMN/20100524/MODEL",
    },
)

This attribute is used to annotate the BPMN element, such as descriptions and other documentation.

must_understand class-attribute instance-attribute
must_understand: bool = field(
    default=False, metadata={"name": "mustUnderstand", "type": "Attribute"}
)

This flag defines if the semantics defined by the extension definition and its attribute definition MUST be understood by the BPMN adopter in order to process the BPMN model correctly. Defaults to False.

Functions