This article will show you how to create a Board using the Lightning Process Builder. If you are not familiar or haven't used Process Builder before, read this Trailhead Module first.
Create a Board Automatically Using Process Builder
To guide you through these steps, we will define a process to create a Taskfeed Board (with a set of predefined tasks from a template*) automatically when an Opportunity Stage is changed to Closed/Won.
*Tip: Instead of creating a blank board, you can create a board with a predefined set of Tasks using a Task Template. Create your first Task Template
Navigate to Setup > Create > Workflow & Approvals > Process Builder.
Give the New Process a Name. We suggest you include the word “Taskfeed:” followed by the process to distinguish this from other processes in Salesforce.
Select “A Record Changes.” option for “The Process Starts When:.” This applies to most processes using Taskfeed unless an existing process will trigger it.
Click the +Add Object element. Select the object you want to define. In this example, the object is Opportunity.
For "Start the Process” select “when a record is created or edited.”
Next, click + Add Criteria.
For Criteria Name, give a short descriptive name. In this case, we will type “Is Won”.
Choose one of the options for the Criteria for Executing Actions. For this example, we will use “Conditions are met”.
Set Conditions: find the field related to the criteria you want to meet. Our example is using:
Conditions: “All of the Conditions are met (And)”.
Next, + Add Action.
For Action Type, select Create a Record.
For Action Name, type “Create a Board.”
For Record Type, select Taskfeed Board.
Set Field Values: these will be fields relevant to the action and the type of record you will be creating. For this example, we used:
Set Field Values:
Notice that for Type, there is a particular Board Type associated with this process (“Project”). It also means that if a Task Template is associated with the Project Board Type, then the Board will also be created with a predefined set of tasks.
20. Click Save.
21. At the top of the screen, click Activate Process.
The Process is now ready.
To see the new Board and a related list with Taskfeed Tasks in the Opportunity (or your chosen object) Page:
- Configure the Page Layout to Include Taskfeed Objects and its Related Lists.