sub_process
Represents a SubProcess element in BPMN 2.0.
| CLASS | DESCRIPTION |
|---|---|
AdHocSubProcess |
An AdHocSubProcess is a special kind of SubProcess. |
SubProcess |
A SubProcess is a compound activity that represents a collection of other tasks and SubProcesses. |
Transaction |
A Transaction has a special behavior that is controlled through a transaction protocol. |
TransactionlessSubProcess |
A SubProcess is a compound activity that represents a collection of other tasks and SubProcesses. |
Classes¶
AdHocSubProcess
dataclass
¶
AdHocSubProcess(
*,
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,
lane_sets: list[LaneSet] = list(),
user_tasks: list[UserTask] = list(),
tasks: list[Task] = list(),
start_events: list[StartEvent] = list(),
service_tasks: list[ServiceTask] = list(),
sequence_flows: list[SequenceFlow] = list(),
send_tasks: list[SendTask] = list(),
script_tasks: list[ScriptTask] = list(),
receive_tasks: list[ReceiveTask] = list(),
parallel_gateways: list[ParallelGateway] = list(),
manual_tasks: list[ManualTask] = list(),
intermediate_throw_events: list[IntermediateThrowEvent] = list(),
intermediate_catch_events: list[IntermediateCatchEvent] = list(),
inclusive_gateways: list[InclusiveGateway] = list(),
implicit_throw_events: list[ImplicitThrowEvent] = list(),
exclusive_gateways: list[ExclusiveGateway] = list(),
event_based_gateways: list[EventBasedGateway] = list(),
events: list[Event] = list(),
end_events: list[EndEvent] = list(),
data_store_references: list[DataStoreReference] = list(),
data_object_references: list[DataObjectReference] = list(),
data_objects: list[DataObject] = list(),
complex_gateways: list[ComplexGateway] = list(),
call_activities: list[CallActivity] = list(),
business_rule_tasks: list[BusinessRuleTask] = list(),
boundary_events: list[BoundaryEvent] = list(),
flow_elements: list[FlowElement] = list(),
text_annotations: list[TextAnnotation] = list(),
groups: list[Group] = list(),
associations: list[Association] = list(),
artifacts: list[Artifact] = list(),
triggered_by_event: bool = False,
ad_hoc_sub_processes: list[AdHocSubProcess] = list(),
completion_condition: Optional[Expression] = None,
cancel_remaining_instances: bool = True,
ordering: Optional[AdHocOrdering] = None
)
SubProcess
dataclass
¶
SubProcess(
*,
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,
lane_sets: list[LaneSet] = list(),
user_tasks: list[UserTask] = list(),
tasks: list[Task] = list(),
start_events: list[StartEvent] = list(),
service_tasks: list[ServiceTask] = list(),
sequence_flows: list[SequenceFlow] = list(),
send_tasks: list[SendTask] = list(),
script_tasks: list[ScriptTask] = list(),
receive_tasks: list[ReceiveTask] = list(),
parallel_gateways: list[ParallelGateway] = list(),
manual_tasks: list[ManualTask] = list(),
intermediate_throw_events: list[IntermediateThrowEvent] = list(),
intermediate_catch_events: list[IntermediateCatchEvent] = list(),
inclusive_gateways: list[InclusiveGateway] = list(),
implicit_throw_events: list[ImplicitThrowEvent] = list(),
exclusive_gateways: list[ExclusiveGateway] = list(),
event_based_gateways: list[EventBasedGateway] = list(),
events: list[Event] = list(),
end_events: list[EndEvent] = list(),
data_store_references: list[DataStoreReference] = list(),
data_object_references: list[DataObjectReference] = list(),
data_objects: list[DataObject] = list(),
complex_gateways: list[ComplexGateway] = list(),
call_activities: list[CallActivity] = list(),
business_rule_tasks: list[BusinessRuleTask] = list(),
boundary_events: list[BoundaryEvent] = list(),
flow_elements: list[FlowElement] = list(),
text_annotations: list[TextAnnotation] = list(),
groups: list[Group] = list(),
associations: list[Association] = list(),
artifacts: list[Artifact] = list(),
triggered_by_event: bool = False,
sub_processes: list[SubProcess] = list(),
transactions: list[Transaction] = list()
)
Bases: TransactionlessSubProcess
A SubProcess is a compound activity that represents a collection of other tasks and SubProcesses.
Transaction
dataclass
¶
Transaction(
*,
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,
lane_sets: list[LaneSet] = list(),
user_tasks: list[UserTask] = list(),
tasks: list[Task] = list(),
start_events: list[StartEvent] = list(),
service_tasks: list[ServiceTask] = list(),
sequence_flows: list[SequenceFlow] = list(),
send_tasks: list[SendTask] = list(),
script_tasks: list[ScriptTask] = list(),
receive_tasks: list[ReceiveTask] = list(),
parallel_gateways: list[ParallelGateway] = list(),
manual_tasks: list[ManualTask] = list(),
intermediate_throw_events: list[IntermediateThrowEvent] = list(),
intermediate_catch_events: list[IntermediateCatchEvent] = list(),
inclusive_gateways: list[InclusiveGateway] = list(),
implicit_throw_events: list[ImplicitThrowEvent] = list(),
exclusive_gateways: list[ExclusiveGateway] = list(),
event_based_gateways: list[EventBasedGateway] = list(),
events: list[Event] = list(),
end_events: list[EndEvent] = list(),
data_store_references: list[DataStoreReference] = list(),
data_object_references: list[DataObjectReference] = list(),
data_objects: list[DataObject] = list(),
complex_gateways: list[ComplexGateway] = list(),
call_activities: list[CallActivity] = list(),
business_rule_tasks: list[BusinessRuleTask] = list(),
boundary_events: list[BoundaryEvent] = list(),
flow_elements: list[FlowElement] = list(),
text_annotations: list[TextAnnotation] = list(),
groups: list[Group] = list(),
associations: list[Association] = list(),
artifacts: list[Artifact] = list(),
triggered_by_event: bool = False,
method: TransactionMethodValue = COMPENSATE,
sub_processes: list[TransactionlessSubProcess] = list(),
transactions: list[Transaction] = list()
)
Bases: TransactionlessSubProcess
A Transaction has a special behavior that is controlled through a transaction protocol.
TransactionlessSubProcess
dataclass
¶
TransactionlessSubProcess(
*,
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,
lane_sets: list[LaneSet] = list(),
user_tasks: list[UserTask] = list(),
tasks: list[Task] = list(),
start_events: list[StartEvent] = list(),
service_tasks: list[ServiceTask] = list(),
sequence_flows: list[SequenceFlow] = list(),
send_tasks: list[SendTask] = list(),
script_tasks: list[ScriptTask] = list(),
receive_tasks: list[ReceiveTask] = list(),
parallel_gateways: list[ParallelGateway] = list(),
manual_tasks: list[ManualTask] = list(),
intermediate_throw_events: list[IntermediateThrowEvent] = list(),
intermediate_catch_events: list[IntermediateCatchEvent] = list(),
inclusive_gateways: list[InclusiveGateway] = list(),
implicit_throw_events: list[ImplicitThrowEvent] = list(),
exclusive_gateways: list[ExclusiveGateway] = list(),
event_based_gateways: list[EventBasedGateway] = list(),
events: list[Event] = list(),
end_events: list[EndEvent] = list(),
data_store_references: list[DataStoreReference] = list(),
data_object_references: list[DataObjectReference] = list(),
data_objects: list[DataObject] = list(),
complex_gateways: list[ComplexGateway] = list(),
call_activities: list[CallActivity] = list(),
business_rule_tasks: list[BusinessRuleTask] = list(),
boundary_events: list[BoundaryEvent] = list(),
flow_elements: list[FlowElement] = list(),
text_annotations: list[TextAnnotation] = list(),
groups: list[Group] = list(),
associations: list[Association] = list(),
artifacts: list[Artifact] = list(),
triggered_by_event: bool = False
)
Bases: Activity
A SubProcess is a compound activity that represents a collection of other tasks and SubProcesses.