Skip to content

user_task

Represents a User Task.

CLASS DESCRIPTION
UserTask

A User Task is a workflow Task where a human performer performs the Task with the assistance of a software app.

Classes

UserTask dataclass

UserTask(
    *,
    id: Optional[str] = None,
    documentation: list[Documentation] = list(),
    extension_elements: Optional[ExtensionElements] = None,
    auditing: Optional[Auditing] = None,
    monitoring: Optional[Monitoring] = None,
    category_value_refs: list[str] = list(),
    name: Optional[str] = None,
    incoming: list[str] = list(),
    outgoing: list[str] = list(),
    io_specification: Optional[IoSpecification] = None,
    properties: list[Property] = list(),
    data_input_associations: list[DataInputAssociation] = list(),
    data_output_associations: list[DataOutputAssociation] = list(),
    potential_owners: list[PotentialOwner] = list(),
    human_performers: list[HumanPerformer] = list(),
    performers: list[Performer] = list(),
    resources: list[ResourceRole] = list(),
    standard_loop_characteristics: Optional[StandardLoopCharacteristics] = None,
    multi_instance_loop_characteristics: Optional[
        MultiInstanceLoopCharacteristics
    ] = None,
    loop_characteristics: Optional[LoopCharacteristics] = None,
    is_for_compensation: bool = False,
    start_quantity: int = 1,
    completion_quantity: int = 1,
    default: Optional[str] = None,
    renderings: list[Rendering] = list(),
    implementation: ImplementationValue = UNSPECIFIED
)

Bases: Task

A User Task is a workflow Task where a human performer performs the Task with the assistance of a software app.

The lifecycle of the Task is managed by a software component (called activities manager) and is typically executed in the context of a Process.

ATTRIBUTE DESCRIPTION
implementation

This attribute specifies the technology to be used for implementing the User Task.

TYPE: ImplementationValue

renderings

A hook that enables BPMN adopters to specify task rendering attributes using the BPMN Extension mechanism.

TYPE: list[Rendering]

Attributes

implementation class-attribute instance-attribute
implementation: ImplementationValue = field(
    default=UNSPECIFIED, metadata={"type": "Attribute"}
)

This attribute specifies the technology to be used for implementing the User Task.

Valid values are “##unspecified” for leaving the implementation technology open, “##WebService” for the Web service technology, or a URI identifying any other technology or coordination protocol. The default technology for this task is unspecified.

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

A hook that enables BPMN adopters to specify task rendering attributes using the BPMN Extension mechanism.

Functions