Skip to content

global_task

Represents a Global Task.

CLASS DESCRIPTION
GlobalTask

A Global Task is a reusable, Task definition that can be called from within any Process by a Call Activity.

Classes

GlobalTask dataclass

GlobalTask(
    *,
    id: Optional[str] = None,
    documentation: list[Documentation] = list(),
    extension_elements: Optional[ExtensionElements] = None,
    supported_interface_refs: list[str] = list(),
    io_specification: Optional[IoSpecification] = None,
    io_bindings: list[IoBinding] = list(),
    name: Optional[str] = None,
    potential_owners: list[PotentialOwner] = list(),
    human_performers: list[HumanPerformer] = list(),
    performers: list[Performer] = list(),
    resources: list[ResourceRole] = list()
)

Bases: CallableElement

A Global Task is a reusable, Task definition that can be called from within any Process by a Call Activity.

ATTRIBUTE DESCRIPTION
human_performers

People can be assigned to Activities in various roles.

TYPE: list[HumanPerformer]

performers

People can be assigned to Activities in various roles.

TYPE: list[Performer]

potential_owners

Potential owners of a User Task are persons who can claim and work on it.

TYPE: list[PotentialOwner]

resources

Defines the resource that will perform or will be responsible for the Activity.

TYPE: list[ResourceRole]

Attributes

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

People can be assigned to Activities in various roles.

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

People can be assigned to Activities in various roles.

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

Potential owners of a User Task are persons who can claim and work on it.

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

Defines the resource that will perform or will be responsible for the Activity.

The resource, e.g., a performer, can be specified in the form of a specific individual, a group, an organization role or position, or an organization.

Functions