spiff-arena/docs/in_depth_topics/data_objects.md

45 lines
2.5 KiB
Markdown
Raw Normal View History

# Data Objects
```{tip}
:class: note
🧾 Read more about Data Objects [here](https://medium.com/@danfunk/understanding-bpmns-data-objects-with-spiffworkflow-26e195e23398).
```
In BPMN (Business Process Model and Notation), a data object represents the information or data used and produced by activities within a business process. It represents the data elements or artifacts that are relevant to the process and provides a way to model the flow of data through the process.
They help in clarifying the data flow and dependencies within the process, making it easier to understand how information is utilized and transformed throughout the process execution.
## Data Input Configuration
| 💻 Form | ⌨ Field Input |
| --- | --- |
|![name_field](images/name_field.png) | **Name:** Update Customer Information |
|![id_field](images/id_field.png) | **ID:** Example - updateCustomerInformation |
|![name_field](images/documentation_field.png) | **Element Documentation:** URL, Raw Data, Plain Text |
|![name_field](images/data_object_properties.png) | **Element Documentation:** URL, Raw Data, Plain Text (only applicable for Data Object Reference) |
### Data Input
![data_input](images/data_input.png)
Represents the data or information that is required as an input to initiate or execute a particular task or process. BPMN input defines the data elements that need to be provided or available for the task to be performed.
### Data Output
![data_output](images/data_output.png)
Signifies the data or information that is generated or produced as a result of executing a task or process. BPMN output describes the data elements that are produced or modified during the execution of the task.
### Data Object Reference
![data_object_reference](images/data_object_reference.png)
A Data Object in BPMN typically represents a specific piece of information or a data entity that is exchanged or manipulated during the course of a business process. It can represent both physical and digital data. Examples of Data Objects include documents, forms, reports, databases, or any other data entity relevant to the process.
### Data Store
![data_store](images/data_store.png)
A Data Store represents a persistent storage location where data is stored and retrieved during the course of a process. It typically represents a database, file system, or any other storage mechanism. Data Stores are used to depict the long-term storage of data that can be accessed by multiple activities or tasks within the process. They provide a centralized location for data storage and retrieval.