diff --git a/docs/learn_basics/images/04-BPMN-Service-Task.png b/docs/learn_basics/images/04-BPMN-Service-Task.png new file mode 100644 index 000000000..4cf259e22 Binary files /dev/null and b/docs/learn_basics/images/04-BPMN-Service-Task.png differ diff --git a/docs/learn_basics/images/06-BPMN-Send-Task.png b/docs/learn_basics/images/06-BPMN-Send-Task.png new file mode 100644 index 000000000..73961fd5a Binary files /dev/null and b/docs/learn_basics/images/06-BPMN-Send-Task.png differ diff --git a/docs/learn_basics/images/08-BPMN-User-Task.png b/docs/learn_basics/images/08-BPMN-User-Task.png new file mode 100644 index 000000000..075402498 Binary files /dev/null and b/docs/learn_basics/images/08-BPMN-User-Task.png differ diff --git a/docs/learn_basics/images/10-BPMN-Manual-Task.png b/docs/learn_basics/images/10-BPMN-Manual-Task.png new file mode 100644 index 000000000..b0902f63f Binary files /dev/null and b/docs/learn_basics/images/10-BPMN-Manual-Task.png differ diff --git a/docs/learn_basics/images/12-BPMN-Business-Rule-Task.png b/docs/learn_basics/images/12-BPMN-Business-Rule-Task.png new file mode 100644 index 000000000..34b8d7242 Binary files /dev/null and b/docs/learn_basics/images/12-BPMN-Business-Rule-Task.png differ diff --git a/docs/learn_basics/images/14-BPMN-Script-Task.png b/docs/learn_basics/images/14-BPMN-Script-Task.png new file mode 100644 index 000000000..c5f90350a Binary files /dev/null and b/docs/learn_basics/images/14-BPMN-Script-Task.png differ diff --git a/docs/learn_basics/images/23-BPMN-Receive-Task.png b/docs/learn_basics/images/23-BPMN-Receive-Task.png new file mode 100644 index 000000000..3afe1100b Binary files /dev/null and b/docs/learn_basics/images/23-BPMN-Receive-Task.png differ diff --git a/docs/learn_basics/images/bpmn-symbol-activity.png b/docs/learn_basics/images/bpmn-symbol-activity.png new file mode 100644 index 000000000..49ec3824a Binary files /dev/null and b/docs/learn_basics/images/bpmn-symbol-activity.png differ diff --git a/docs/learn_basics/learn_basics.md b/docs/learn_basics/learn_basics.md index 408579492..eb5d59b32 100644 --- a/docs/learn_basics/learn_basics.md +++ b/docs/learn_basics/learn_basics.md @@ -6,12 +6,33 @@ Business Process Model and Notation (BPMN) is a diagramming language for specify BPMN describes details of process behaviors efficiently in a diagram. The meaning is precise enough to describe the technical details that control process execution in an automation engine. SpiffWorkflow allows you to create code to directly execute a BPMN diagram. -When using SpiffWorkflow, a client can manipulate the BPMN diagram and still have their product work without a need for you to edit the Python code, improving response and turnaround time. +When using SpiffWorkflow, a client can create the BPMN diagram and still have their product work without a need for you to edit the Python code, improving response and turnaround time. + ## BPMN Elements +BPMN (Business Process Model and Notation) elements are the building blocks used to model business processes visually. They represent different aspects of a process, such as tasks, events, gateways, and flows, and are used to describe the flow of activities, decisions, and data within a process. ### Tasks +Tasks represent activities or work that needs to be performed as part of a process. They can be manual tasks that require human intervention or automated tasks that are executed by systems or applications. + +| **Element** | **Symbol** | **Description** | +|---------------|----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Service | ![Untitled](images\04-BPMN-Service-Task.png) | Task that uses a Web service, an automated application, or other kinds of service in completing the task. | +| Send | ![Untitled](images\06-BPMN-Send-Task.png) | Task that sends a Message to another pool. The Task is completed once the Message has been sent. | +| Receive | ![Untitled](images\23-BPMN-Receive-Task.png) | A Receive Task indicates that the process has to wait for a message to arrive in order to continue. The Task is completed once the message has received. | +| User | ![Untitled](images\08-BPMN-User-Task.png) | A User Task represents that a human performer performs the Task with the use of a software application. | +| Manual | ![Untitled](images\10-BPMN-Manual-Task.png) | A Manual Task is a Task that is performed without the aid of any business process execution engine or any application. | +| Business Rule | ![Untitled](images\12-BPMN-Business-Rule-Task.png) | Business Rule Task is newly added in BPMN 2.0. It provides a mechanism for a process to provide input to a Business Rules Engine and then obtain the output provided by the Business Rules Engine. | +| Script | ![Untitled](images\14-BPMN-Script-Task.png) | A Script Task is executed by a business process engine. The task defines a script that the engine can interpret. | | + ### Gateways +Gateways represent decision points in a process. They determine which path the process will take based on certain conditions or rules. There are different types of gateways, such as exclusive gateways (XOR), inclusive gateways (OR), and parallel gateways (AND). -### Events \ No newline at end of file +### Flows +Flows represent the sequence or direction of activities in a process. There are different types of flows in BPMN, including sequence flows, message flows, and association flows. Sequence flows indicate the order in which tasks are performed, message flows represent the exchange of messages between participants, and association flows connect data objects or artifacts to activities. + +### Artifacts +Artifacts are used to provide additional information or documentation within a process. They include data objects (representing information or data needed for the process), annotations (providing explanatory or descriptive text), and groups (used to visually group related elements). + +[def]: images/Untitled_2.png \ No newline at end of file