# Subprocesses # Process Configuration - POTENTIAL MANAGEMENT **Main Process: Potential Management** ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565604934525.png) We use the **Task Sub Processes** to create them, doing so we will simplify the logic behind the main process. In the example below we will draw 2 Sub Processes: - **1st Send a summary email** to the assignee and creates reminder event. - **2nd Creates a pre filled Quote** (only if the previous conditions are true) and sends it via email updating the status of the Potential. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-04-Apr/scaled-840-0/image-1555665256990.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605565275.png) **Below you can display the configured process.** The process is activated once a new Potential is created and follows the flow in order to reassign it or to change its status. To activate it we tick **“Active”** once the chart and the configuration are ended. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605594327.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605598832.png) On the left the first task, ore better the initial condition, has been created. Therefore we select the entity, **“Potentials”**, and we choose when to run the check **“on creation”**. Then we state a Group of condition to start the process, in this case the Sales Stage has to be among the ones reported below (“Prospecting”, “Qualification”, “Budgeting”). ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605630504.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605645340.png) This task represents the link to a sub process, which follows its own flow. For this reason we need to chose the sub process to link. In the process selected there is contained an email sending task to inform about the creation of the potential and the creation of two reminders, one 5 days before the expiry date, and the other 2 days before. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605663205.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605668337.png) This task represents a check on the potential’s status (Sales Stage). Here we define the **statuses that have to be managed**. They are divided in two blocks: - Prospecting - Needs Analysis - Perception Analysis - Proposal/ Price Quote - Negotiation/ Review - Value Proposition - Decision Makers **OR** - Close WON - Close LOST **The setting is displayed in the following page.** ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605788292.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605794318.png) This task is an Exclusive Gateway, which defines the different flows according to the conditions previously set. In this case, if the Sales Status is among the ones reported earlier in the first block (Prospecting, Decision Makers, Negotiation/ Review etc) the process goes on with the task called “Change assignee request”. On the contrary if the status is one of the second block, **Close WON/LOST**, we go on with the Task **“Send Summary Email”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605830438.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605840279.png) This task uses the **“ProcessHelper”** that talks with the user asking a manual intervention. We flag the box **“Show pop up in the linked entity”** to make a window appear (dynamic form) containing a set of data in read only mode as a recap and a user field in which a new assignee can be selected and a Button field in with which is possible to change the picklist value **“Confirm”**. It is necessary to confirm to proceed. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605881509.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605888178.png) This Task checks the data of the Process Helper. As said, though a dynamic form some recap fields and a confirmation pick list are shown **(YES/NO)**, this defines the new reassignment. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605909589.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565605966178.png) In this point we use the Exclusive Gateway to decide which way the process has to take according to the answer given in the Dynamic Form. If the user confirmed **(YES)** the process goes on by reassigning the Potential, if not **(NO)** the process checks its sales status **(Sales Stage)**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606002074.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606008415.png) The Task on the left performs an update action. The user previously chosen in the Dynamic Form will be reported in the Potential. Therefore we add a new action – **update entity**. We select the Potential and we change the field Assigned to taking as reference the field contained in the Dynamic Form, that is to say **“New Assignee”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606064867.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606073939.png) This task is the email sending that informs the new Assignee of the Potential. The user will receive an email containing a summary of the Opportunity. In the email the process fills the mandatory field, that is to say: Sender, Receiver, Subject and Body. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606090578.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606098578.png) The task here pictured represents a second check on the Potential status (Sales Stage). We define the possible status that have to be managed. In this case we check if the sales stage is equal to “Proposal Price/Quote” or not. If the result is a match we go on by recalling the subprocess “Pre filled Quote”, otherwise we go directly to the task “Send summary Email”. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606118185.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606127256.png) This task is another Exclusive Gateway, which defines the following steps according to the conditions previously set. So if the sales stage is Proposal Price/Quote to process goes on with the following task as previously said, that is by recalling the sub process “Pre filled Quote”. Otherwise it goes on with the email sending. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606146210.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606151348.png) The task on the left represents a link to a sub process, which will create a quote and when its stage is changed in “Negotiation/Review”, will send an email and update the sales stage of the Potential. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606165117.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606169981.png) We go in with a task that runs a check and the sales stage of the opportunity, to verify the complete execution of the Sub Process. If it is equal to **“Negotiation/Review”**, the flow goes on with the next Task, the sending of an email containing the final recap. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-10-Oct/scaled-840-0/image-1572253623998.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606254290.png) This task represents the last action, a summary email to inform the assigned user about Potential data. Click on "New action" - Send email and then insert all needed fields. After that, the process will be ended (End event). ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606308032.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606316302.png) As said, the process ends with an End Event, to which is linked the **“Potential”** and the status is set on **“Ended”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606351801.png) #### Subprocess: “Potential Expiry” ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606365965.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606372590.png) The Task represented is the initial one to launch the Sub Process. No entity is selected and on **“When to run the check”** we select **“When executed subprocess”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606432129.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606552682.png) In this Task the email sending to the assignee of the Potential is configured. We chose **New Action – Send Email**. We enter the main information (sender, receiver, subject, body..) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606576511.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606582955.png) On the left we can see a task used to create a reminder, that is a calendar event close to the expected expiry date. The event is planned 5 days before the **“Expred Close Date”** reported in the Potential. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606608388.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606613890.png) In this Task we see the creation of a second reminder event. This, unlike the first one, is planned tree days before the expected close date reported in the Potential. Therefore we fill the various fields as indicated and we subtract 3 days from the indicated date. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606640581.png) #### Subprocess: Pre Filled Quote ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606657251.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606663113.png) As seen in the previous Sub Process, we find the start Task to begin the process. In fact we don’t select an entity and on **“When to run the check”** we select **“When executed subprocess”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606693977.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606701048.png) In this Task we configure a New Action – Create Entity, then we select the **“Quote”** module to create a pre filled one. We place the title of the action and the various fields, we also link the Potential and we set the expiry date in 30 days. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606728207.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606757224.png) At this point the Sub Process blocks the execution flow on the Task described below. We wait until the Sales Status of the Quote related to the entity previously created is changed in **“Negotiation/Review”**. Only when this condition is true the process will proceed. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606782518.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606788778.png) Once the quote’s status is changed in **“Negotiation/Review”** the process goes on and sends the details to the related entity (Account or Contact) with the assignee in copy. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606805419.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606817141.png) Now we update the Sales Stage of the Opportunity in **“Negotiation/Review”.** **At this point the Sub Process ends.** ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606843652.png) # Process Activation - POTENTIAL MANAGEMENT **PROCESS ACTIVATION** At this point we completed the configuration of the process and sub processes. Therefore we proceed by checking the proper running of the process. **Now we create a new Potential.** In this case we set the Sales Status on **“Open”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606910726.png) Once the Potential is saved the Assignee will receive a mail containing a summary of the data. In addition, there will already be 2 related events, ie deadlines, one to 5 days from the expected closing date and the other to 3 days from the effective end date. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606971990.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606979069.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565606982745.png) At this point the process is blocked until the Sales status changes in one of the stages previously configured. Here we chose the status **“Proposal Price/ Quote”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607001898.png) Once saved, the assignee of the Potential will display a pop up containing a recap of the data in read only mode, it will also have the chance to re assign it to another user. Once the desired user is selected we chose the **“Yes”** value in the pick list (it is possible to click on the button **“Confirm/delete”** to change to value of the pick list on Yes/No) and proceed by clicking on **Save**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607027767.png) Once confirmed (by selecting the Yes value in the pop up) the assignee of the Opportunity is updated and will receive an email containing its data. By looking at the relations we can see the email sent and the created Quote, because the status was “Proposal Price/ Quote”. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607140287.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607144160.png) By looking at the relation with can see the details of the Quote. At this point, we can open the record of the Quote, change the data, enter new products and change the Status on **“Reviewed”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607161683.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607166239.png) The process goes on by sending an email to the assignee containing the data of the Quote. Furthermore, the Sale Status of the Potential is set in **“Negotiation/ Review”**. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607186676.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607195616.png) At this point the assignee receives an email containing a final recap of the Potential. From the **“Process Chart”** tab we can see that the process has finished the execution flow. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-04-Apr/scaled-840-0/image-1555676184133.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-08-Aug/scaled-840-0/image-1565607227771.png)