2. Create a Taskfeed Board Automatically
⚠️This article explains how admins can configure a process using Lightning Process Builder where Boards are created automatically from another event in Salesforce. If you are not familiar or haven't used Process Builder before, read this Trailhead Module first.
Create a Board Automatically Using Process Builder
Sample Process
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.
Click New.
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 Save.
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.”
Click Save.
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:
Field: [Opportunity]Stage-Name
Operator: Equals
Type: Picklist
Value: Closed/Won
Conditions: “All of the Conditions are met (And)”.
Click Save.
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:
Field
Type
Value
Name
Reference
[Opportunity].Name
Account
Reference
[Opportunity].AccountId
Opportunity
Reference
[Opportunity].Id
Type
Picklist
Project
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.