Skip to main content

13.2 Example: Opportunity Management Process Configuration

Main Process: Opportunity Management Process

image.png

The SubProcess task is used to call other processes (subprocesses) and therefore simplify the logic of the main process.

In the case proposed below there are 2 SubProcesses:

1st Send a summary email to the assignee and create reminder events assigned to the same user.

2nd Create a pre-filled Quote (only if the previous conditions are true) and send it via email also updating the status of the Opportunity.

image-1555665256990.png

image-1555665270550.png

The screenshot shows the configured process.

The following process is activated when a new Opportunity is created and follows the flow for a possible reassignment and sales stage update.

To activate it, check the box “active” once the diagram and configuration are complete

image-1555665302671.png

image-1555665334590.png

Here on the side, the first task has been filled in, which represents the initial condition to start the process. Therefore, the linked entity “Opportunity” is selected and on When to run the check “at creation”.

A Group of conditions is then specified to actually start the process, in this case that the Sales Stage is different from those indicated (“In Prospect”, “Qualification”, “In Estimate”)

image-1555665352722.png

image-1555665359862.png

This task represents the call to another process (subprocess), which inside it executes its own execution flow. Therefore, it is necessary to choose which one to call from the proposed list. Inside it there will be a Task for sending emails to inform the opening of a new Opportunity and the creation of 2 reminders, one 5 days before the deadline, the other 3.

image-1555665373790.png

image-1555665382043.png

This task represents a check on the status of the opportunity (Sales Stage). The possible cases of the values ​​to be managed are therefore defined. In this case, it is verified whether the value of this field has changed in one of these:

- In Perspective
- To be Analyzed
- Perception Analysis
- Proposal / Price Estimate
- Negotiation / Review
- Proposed value
- Decision-making power

OR

- Closed WON
- Closed LOST

image-1555665440616.png

image-1555666175244.png

This task represents an Exclusive Gateway, which defines the possible flows based on the previously set conditions. In this case, if the Sales Stage is one of those described previously (In Prospect, To be Analyzed, Perception Analysis, Price Proposal/Estimate, Negotiation/Revision, Value Proposed, Decision-making Power), it continues to the next task called “Request for change of assignee”. Otherwise, if it is equal to “Closed WON” or “Closed LOST”, the execution continues towards the “Send Summary Email” Task.

image-1555666187828.png

image-1555666195866.png

This task uses the so-called “ProcessHelper” which interfaces with the user and requires, as already defined, manual intervention. The “Show popup in the linked entity” box is flagged to make a window (dynamic form) appear with a set of read-only data as a summary and a user field from which it is possible to select the new assignee and a Button type field to change the value of the “Confirm” picklist. You must then confirm to proceed

image-1555666206183.png

image-1555667154160.png

This Task verifies the ProcessHelper data. As already mentioned, a dynamic form displays summary fields and a confirmation picklist (YES/NO) for the new re-assignment.

Therefore, the confirmation field of the Dynamic Form is checked to verify that it has been set to “YES OR “NO”.

image-1555667166683.png

image-1555667653900.png

At this point, Exclusive Gateway, we assign the previously configured roads based on the response given in the Dynamic Form. If the user has confirmed (YES) proceeds with the reassignment of the Opportunity, otherwise (NO) we proceed directly to the Status control of the latter (Sales Stage).

image-1555667666880.png

image-1555667677377.png

This task performs an update action. The previous user selected via the dynamic form is now set among the attributes of the opportunity in question. Therefore, a NEW ACTION is added - Update entity.

Select the Opportunity entity and modify the Assigned to field by taking the reference of the field present in the Dynamic Form, in our case "New Assignee".

image-1555667689350.png

image-1555667696862.png

This task represents the sending of an information email to the new assignee of the Opportunity. This will then receive a small summary of the data relating to the latter.

The main fields sender, recipient, subject and body, necessary for sending the email, are then filled in.

image-1555667714943.png

image-1555667722380.png

This task represents a second check on the opportunity status (Sales Stage).

The possible cases of the values ​​to be managed are then defined. In this case, it is checked whether the sales stage is equal to “Proposal Quote/Price” or not.

If equal to this, it continues with the call to the “Pre-filled Quote” Sub-Process, otherwise it continues directly to the “Send Summary Email” Task.

image-1555667731932.png

image-1555668034046.png

This task represents a further Exclusive Gateway, which defines the possible flows based on the previously set conditions. In this case, if the Sales Stage is “Estimate/Price Proposal”, it continues to the next task as mentioned, that is, to the call of the “Pre-filled Estimate” sub-process. Otherwise, it continues with sending emails.

image-1555668045094.png

image-1555668052703.png

This task is a call to another sub-process, which will create a quote and when it is in the “Reviewed” state, will send the summary email and update the Sales Stage of the Opportunity.

image-1555668065574.png

image-1555668073541.png

This task performs a control action on the Sales Stage of the Opportunity, to verify the complete and entire execution of the Sub-Process. If this is equal to “Negotiation/Review”, the flow continues with the next Task of sending the Final Summary email.

image-1555668085039.png

image-1555668093071.png

This task represents the last action, that is, a summary email to inform the assignee about the data relating to the Opportunity.

Therefore, click on NEW ACTION - Email Sending and insert the necessary fields. After this Task, you reach the end of the process, therefore towards the End Event.

image-1555668111661.png

image-1555669975335.png

As mentioned, the process ends its execution at this node, i.e. the End Event. The “Opportunity” entity is connected and the status is set to “Terminated”.

image-1555669992359.png

Sub-Process:  Opportunity Expiration

image-1555670012170.png

image-1555670019375.png

The Task represented is the initial Task for the launch of the Sub-Process. In fact, no entity is selected and in “When to execute the check” “at the launch of the sub-process” is selected.

image-1555670034496.png

image-1555670040573.png

In this Task, the email sending is configured for the Opportunity assignee. A NEW ACTION is then configured - Email sending.

The main information is entered (sender, recipient, subject, body, ...).

image-1555670051919.png

image-1555671048777.png

In the task described here on the side we see the creation of a reminder, or a calendar Event in view of the expected Deadline. In fact, this is planned 5 days from the “Expected Closing Date” entered in the Opportunity. Therefore, the various fields are filled in as desired and 5 days are subtracted from the indicated date.

image-1555671077665.png

image-1555671085437.png

In this task we have the creation of a second reminder, that is, a Calendar Event in view of the Actual Deadline. This, unlike the first, is planned 3 days from the “Actual Closing Date” entered in the Opportunity.

Therefore, the various fields are filled in as desired and 3 days are subtracted from the indicated date.

image-1555671105970.png

Sub-Process: Pre-filled Quote

image-1555671134249.png

image-1555671147286.png

As in the previous Subprocess, also in this case we find the initial Task for the start. In fact, no entity is selected and on “When to execute the check” we select “at the start of the subprocess”.

image-1555671158593.png

image-1555671169126.png

In this Task, a NEW ACTION - Create Entity is configured, selecting the “Quotes” module, so as to create a pre-filled one.

The title of the action is entered, the various fields also relating the Opportunity in question and setting the expiry date in 30 days.

image-1555671181193.png

image-1555671191475.png

At this point the Subprocess blocks the execution flow on the Task described below.

In fact, it waits for the Preventive Stage of the previously created entity (in the “created” state) to pass to “Revised”. Only when this condition is true will the process continue.

image-1555671205497.png

image-1555671435944.png

Once the value “Revised” is set as the Preventive Stage, the process continues and sends the details of this via email to the address of the related entity (Company or Contact) and to the assignee in copy.

image-1555671447119.png

image-1555675878956.png

Once the Quote has been created, checked that the Status has changed to “Revised” and the email has been sent, we update the Sales Stage of the Opportunity to “Negotiation/Revision”.

At this point the execution of the Sub-process ends.

image-1555675894611.png