You will be modeling Task # 2 (Business Analyst Review), which is performed by the Business Analyst role, in the Business Analyst swimlane.
The Business Analyst will review the Sales quote and he/she can either APPROVE or REJECT the Quote.
If Approved: The process continues forward.
Else: On Rejection, the process reaches the Sales Representative again, to refine and resubmit the quote.
Perform the following steps to create a User task:
Business Analyst Review
.Before the Business Analyst performs the review on the sales quote and either rejects or approves the quote, you will check if a Business Analyst Review is required or not.
If required: Proceed to the Business Analyst Review User task.
Else: Proceed to Approvers review.
Name: Is Business Analyst Review required? This will get displayed on the Process editor on the Exclusive Gateway.
Processes access and store information, and BPM supports data structures to keep track of this information. These data structures are—Process Data objects, Project Data objects, Arguments, and Subprocess Data objects.
Process Data objects—They store information related to each process instance you create. The value of these data objects is different for every instance in the process. However, the structure of the data object is the same for all process instances. When you define a process, you must define the data object to store information. You must also define in which part of the process you assign a value to these data objects. The value of data objects may come from user input, from external systems, or might be calculated based on other process data objects. When you create an instance, the Process Engine assigns Null
as the default value for all the process data objects defined for that process. Later on, the activities in the process assign values to these variables.
Project Data objects—The processes in a BPM project often have a set of data they share. The value of this data is different for every instance in each of those processes; they only share the necessity to keep track of that data. Project data objects allow you to ensure that all the processes in a certain project keep track of a set of data. Then each process has to assign and update the value of this data.
You can create project data objects as follows:
BusinessAnalystReviewRequire
Boolean (Bool)
Yes
.How it works...
This User task, Business Analyst Review, will be performed by the Business Analyst to review the quotation. However, even before a review is carried out by the Business Analyst, you will check if a review is required or not. When the token reaches Exclusive Gateways, it will determine what path the process token will take.
3.137.160.131