Service Task
Bases: Task
An API from Service Task from BPMN. This classes holds ServiceTaskElement
as elements.
Attributes:
Name | Type | Description |
---|---|---|
root |
_Element
|
root of BPMN loaded as XML. |
Source code in bpmn_parser/_service_task.py
Bases: TaskElement
Parse an Service Task from BPMN.
Attributes:
Name | Type | Description |
---|---|---|
topic_name |
str
|
topic name of element in BPMN. |
type |
str
|
type of element in BPMN. |
Source code in bpmn_parser/_service_task.py
List
List all intermedicate catch events elements founded in .bpmn
file.
Output
[
ServiceTaskElement(
id='Activity_QueryData',
name='Query Data',
execution_listeners=[],
topic_name='query-data',
type='external'
),
ServiceTaskElement(
id='Activity_PreScreening',
name='Pre-Screening',
execution_listeners=[],
topic_name='pre-screening',
type='external'
),
ServiceTaskElement(
id='Activity_SomeExternalTask',
name='Some External Task',
execution_listeners=[],
topic_name='some-external-task',
type='external'
),
ServiceTaskElement(
id='Activity_ValidateData',
name='Validate Data',
execution_listeners=[],
topic_name='validate-data',
type='external')
]
Get
Get a specific exclusive gateway by your ID.