in this video we're going to demonstrate activities tasks and sub processes consider the following business situation the process objective is to replace a vehicle under guarantee the first activity is to include information about the vehicle then an automatic notification is sent to the supplier and finally a payment authorization is sent to the payment system this is sent automatically in this process there are the following activities include replacement vehicle information notify supplier send payment authorization to the payment system however in this process there are some activities that are carried out with human intervention and others that
are not the first element considered in BPMN is activities activities are represented by rounded rectangles represent the work performed by an organization uses resources such as time or human resources in bpmn activities are classified into tasks represented by a rounded rectangle that are atomic activities meaning that there are no internal sub parts defined by the model sub processes which is a compound activity identified by a + symbol on the bottom of the shape the activities are classified into tasks and sub processes BPMN provides a set of task classifications some important tasks are the user script
service send receive manual toss additionally sub processes are classified into embedded and reusable a user task indicates that it is an activity performed by a person or user with help from a system or software a service task is an activity performed by a system without human intervention ie an automatic activity a script task is an activity that executes an expression in bucegi it is used to identify the sending of emails in the previous example the first activity include replacement vehicle information is a user task ii notified supplier is a script task and represents an email
that will be sent automatically the final activity represents an integration point between visaji and the payment system this task will send an authorization automatically and therefore a service task is used to model it in this process the suggestions process most of the activities are user tasks because they are performed by a user with help from a system for example a user will register a suggestion in the application or system the informed response to client activity is the only script task that represents the response that will be sent by email automatically the second type of activity
is the sub process a sub process is a compound activity included within a process it is complex given that the figure includes at the same time a collection of activities and a logical sequence that indicates that the activity can be analyzed at a more detailed level a sub process can be represented either collapsed or expanded when it is collapsed the sub process detail is not displayed while when it is expanded the sub process detail is displayed in the following example the a sub process is instance followed by either the D or e activities according to
a decision represented by a gateway is this correct no this is not in this process the sequence flows across the sub process boundaries this is not possible the sequence flows cannot cross these limits one possibility to model this is the parent process has the start event and then the a sub process is instance the sub process has its own start and end events after finishing the sub process the decision is taken based on process data to continue with the following activity one classification of the sub process is embedded that signifies the sub process depends complete
on the parent process reusable is a defined process like another business process diagram that does not depend on the parent process an embedded sub process is a process that is actually part of the parent process an embedded sub process is not reusable by other processes it cannot contain pools or lanes can only use a non start event and all process data used in the parent process is directly accessible by the embedded sub process a reusable sub process is a process that can be called as a sub process from various processes ie a separately modeled process
that may be used in multiple context without changes can be a high-level process or sub process ie it can be accessed as a sub process or an independent process this is an example of a personal loan request process the first activity is register request after this activity the first sub process is applicant analysis this sub process has been declared as reusable or the parent processes can invoke this sir process for instance a mortgage request in this process the applicants are analyzed other sub processes such as document verification and loan study have been declared as embedded
for example the loan study sub process has a particular structure that only applies for personal loans and will not be reused