Professional Documents
Culture Documents
@salesforcedocs
Last updated: September 17, 2014
© Copyright 2000–2014 salesforce.com, inc. All rights reserved. Salesforce.com is a registered trademark of salesforce.com,
inc., as are other names and marks. Other marks appearing herein may be trademarks of their respective owners.
CONTENTS
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
USING PROCESS BUILDER (BETA)
The Process Builder is a new workflow tool that helps you easily automate your business processes
by providing a powerful and user-friendly visual representation of your process as you build it. The Process Builder’s simple and powerful
design allows you to:
• Create your processes using a convenient visual layout with point-and-click efficiency.
• Create your whole process in one place rather than using multiple workflow rules.
• Have multiple colleagues contribute to creating your business processes.
• Stop using Apex code to automate simple tasks.
Automated processes in the Process Builder consist of criteria that determine when to execute action groups and immediate and
scheduled actions to execute when those criteria are met. Any change that causes a record to match the criteria can automatically trigger
the action group.
If you’re familiar with workflow, you can use the Process Builder to perform all of the same actions (with the exception of outbound
messages), but with more power and flexibility. Without writing a single line of Apex code, you can:
• Create a record.
• Update fields on any related record—not just the record or its parent.
• Launch a trigger-ready flow—as an immediate or a scheduled action.
• Send an email.
• Post to Chatter.
• Submit for approval.
IN THIS SECTION:
When Should I Use a Process?
Salesforce provides multiple ways to automate your organization’s repetitive business processes: workflow rules, flows, and processes.
Processes can automate every action that can be automated in a workflow rule, with the exception of outbound messages, but flows
should be used to automate more complex business processes.
Sample Process: Opportunity Management
This example automates a single business process by using the Process Builder instead of workflow rules.
1
Using Process Builder (Beta) When Should I Use a Process?
2
Using Process Builder (Beta) Sample Process: Opportunity Management
The High Value Deal Won criteria checks whether the opportunity’s stage is closed and won and also whether the opportunity’s amount
is greater than $1,000,000.00. If both of these conditions are met, the associated action group is executed. For this criteria node, three
immediate actions (5) and one scheduled action (6) are defined.
These actions:
• Create a draft contract record that's associated with the opportunity’s account.
• Congratulate the opportunity owner for closing and winning the opportunity by posting to the Sales Chatter group.
• Notify the VP of sales via email that the opportunity was closed and won.
• Create a high priority follow-up task for the associated account’s owner, which is scheduled to execute six days after the opportunity’s
Close Date .
If the High Value Deal Won criteria conditions aren’t met, the associated group of actions doesn’t execute and the next criteria node
(High Value Deal Lost) is evaluated.
The High Value Deal Lost criteria node checks whether the opportunity stage is closed and lost and whether the opportunity amount
is greater than or equal to $1,000,000.00. If these conditions are true, we’ve set up an action (7) to notify the VP of sales by creating a
chatter post on the opportunity record. The post identifies the opportunity and the opportunity amount that was lost.
3
Using Process Builder (Beta) Understanding the Process Builder User Interface
If neither of the previous criteria conditions are met, the next criteria node defined in this process checks whether the opportunity stage
is set to “Quote Given.” If this condition is true, a scheduled action (8) is executed three days after the record is updated. The scheduled
action creates a follow-up task for the opportunity owner to make a call to inquire about the opportunity.
Using the Process Builder, we’ve combined three criteria nodes and associated actions into a single, automated process. To automate
the same business process with workflow, you would have to create three different workflow rules and use Apex triggers to create the
contract record and post to the Sales Chatter group.
4
Using Process Builder (Beta) Setting Values in the Process Builder
• Activate enables Salesforce to start using this process to evaluate records. After you activate a process, it can’t be edited.
• Deactivate stops Salesforce from using this process to evaluate records. You can deactivate only active processes. Once you deactivate
a process, its status is Obsolete and it can’t be edited; however, you can click Save As to create a new draft process based on the
deactivated one.
Canvas (2)
The canvas is the main workspace for a process. On the canvas, you can define:
• The records that the process should evaluate (3)
You identify the object and specify the changes (to that object’s records) that will cause the process to run.
IN THIS SECTION:
Setting Values in the Process Builder
Throughout the Process Builder, you need to set values for fields or flow variables, for example, to set filter conditions in a criteria
node or to set the fields on a new case in a Create a Record action. Set a value for a given field or flow variable by using the text entry
field to manually enter a value or the field picker to find another field value to reference—whether on the record that started the
process or a related record.
5
Using Process Builder (Beta) Setting Values in the Process Builder
For text fields, you can manually enter a string or enter one of the following global constants. These global constants aren’t supported
with the “is null” and “was set” operators.
• $GlobalConstant.Null sets the value to null.
• $GlobalConstant.EmptyString sets the value to an empty string.
For fields that aren’t text fields, such as date and currency fields, the Process Builder displays the format that you should use to enter
your value. After you enter a value, press TAB to verify your entry.
Field Picker
The field picker is indicated by . When you use the field picker, you reference another field on the record or on a related record.
The field picker displays only fields that are compatible with what’s selected for Field or Flow Variable. For example, when you’re setting
a value for a currency field, with the field picker you can select only currency fields.
When you use the field picker, you must click Insert to select a field. To use fields on a related record, click . For example, you can
use the value for the case’s contact’s Account ID.
6
Using Process Builder (Beta) Process Limits and Considerations
Process Limits
When using the Process Builder, keep shared limits and Apex governor limits in mind.
EDITIONS
You must use the most recent stable version of Google Chrome™, and your screen resolution must
have a width of at least 1024. Available in:
• Enterprise
• Performance
Limits Shared with Other Features • Unlimited
Processes share some limits with rules and Visual Workflow. • Developer
In addition to the following limits, a process’s API Name must be unique across all processes
and flows in your organization.
7
Using Process Builder (Beta) Process Limits
Total number of criteria nodes that are evaluated and actions that are executed at runtime 2000
Total number of flow interviews that are resumed or groups of scheduled actions that are executed per 1000
hour
Total number of flow interviews or groups of scheduled actions that are waiting to be processed 30,000
Total number of relative time alarms defined in flow versions or schedules based on a field value in 20,000
processes
The daily limit for emails sent from email alerts is 1,000 per standard Salesforce license per organization—except for Developer Edition
organizations, where the daily workflow email limit is 15 per standard Salesforce license. The overall organization limit is 2,000,000. This
limit is shared across all features that use workflow email alerts: workflow rules, approval processes, flows, and processes.
Each “Create a Record” action uses one DML statement. Each “Quick Action” action uses one DML statement. Each “Update Records”
action uses one SOQL query and one DML statement. Each “Launch a Flow” action can use multiple SOQL queries and DML statements,
depending on the elements that the flow executes. For details, see “General Flow Limits” in the Salesforce Help.
8
Using Process Builder (Beta) Process Builder Accessibility Considerations
9
Using Process Builder (Beta) Process Scheduled Actions Considerations
Example: Salesforce is going to process a batch of 25 groups of scheduled actions in the same transaction. Up to 100 DML
operations can be used across this batch. The first 22 groups each use five (5) DML operations, and the last three (3) groups don’t
use any DML operations.
The 21st group violates the Apex governor limits by trying to execute the 101st through 105th DML operations for this transaction.
Only this group of scheduled actions fails to execute. This means that the first 20 groups of scheduled actions are successfully
10
Using Process Builder (Beta) Process Scheduled Actions Considerations
executed and the 21st group of scheduled actions fails. None of the actions in the 21st group is successful, no matter which action
in the group violated the limit. Salesforce then tries to execute the remaining groups of scheduled actions in the batch. Because
the 22nd group uses five (5) DML operations and the transaction has already used all of its allowed DML operations, the 22nd
group also fails. Because the last three (3) groups don’t use any DML operations, those groups are successfully executed.
Schedule Limitations
• If actions are scheduled for a time in the past, Salesforce executes that group of scheduled actions within one hour.
For example, if a process is configured to email an opportunity owner seven days before the close date and the process runs for an
opportunity with the close date set to today, Salesforce executes the scheduled actions within an hour.
• If you change the referenced field value and the schedule hasn’t been processed, Salesforce recalculates the schedule associated
with that field.
For example, if a process is configured to email an opportunity owner seven days before the opportunity close date and the close
date is set to 2/20/2014, Salesforce processes the schedule on 2/13/2014 and sends the email. If the close date is later updated to
2/10/2014 and the schedule hasn’t been processed yet, Salesforce recalculates the schedule and sends the email on 2/3/2014. If
Salesforce recalculates the schedule to a date in the past, Salesforce executes the associated actions shortly after you save the record.
11
Using Process Builder (Beta) Process Administration Considerations
• Because updates to records based on processes don’t trigger validation rules, processes can invalidate previously valid fields.
• Processes start automatically and are invisible to the user.
• Saving or creating records can trigger more than one process.
When Do Processes Start Evaluating Records?
• Processes can evaluate a record anytime it’s saved or created. However, processes that are created after records are saved don’t
evaluate those records retroactively.
• Processes are triggered when a standard object in a master-detail relationship is re-parented.
• Processes only evaluate converted leads if validation and triggers for lead convert are enabled in your organization.
• Processes evaluate changes made to records while using Connect Offline when users synchronize.
• In a batch update, processes are only retriggered on the entities where there is a change.
• The following actions don’t trigger processes:
– Mass replacing picklist values
– Mass updating address fields
– Mass updating divisions
– Changing the territory assignments of accounts and opportunities
– Converting leads to person accounts
12
Using Process Builder (Beta) Creating Processes
Creating Processes
To create a process, define its properties and which records it should evaluate, and then add criteria
EDITIONS
nodes and actions.
Tip: Consider planning your process before you start. After you add criteria nodes and actions, Available in:
the only way to reorder them is to delete them and start over. • Enterprise
• Performance
• Unlimited
IN THIS SECTION: • Developer
Define the Process Properties
Define the process properties to uniquely identify and help you manage your processes.
USER PERMISSIONS
Identify Which Records to Evaluate
Associate the process with an object, and specify when to start the process. To create, edit, or view
processes:
Add Process Criteria • “Manage Force.com
Define the criteria that must be true before the process can execute the associated actions. Flow”
Add Actions to Your Process AND
After you’ve defined a criteria node, define the actions that are executed when the criteria are “View All Data”
met. You can add up to 10 immediate actions and 10 scheduled actions to a given criteria node.
13
Using Process Builder (Beta) Identify Which Records to Evaluate
Field Description
alphanumeric characters and underscores. It can’t include spaces, end with an underscore, or have two
consecutive underscores.
After it’s saved, API Name can’t be changed for the process.
3. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
Note: If you’re familiar with workflow rules and you’re wondering what happened to the third option (“created, and any time
it’s edited to subsequently meet criteria”), don’t worry! You’ll get to that setting when you add criteria nodes if you select
“created or edited” here.
4. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
14
Using Process Builder (Beta) Add Process Criteria
To simply execute the associated actions without evaluating the record. No criteria—just
The process executes all the actions that are associated with this criteria execute the
node and doesn’t evaluate any remaining criteria nodes in the process. actions!
Therefore, we recommend selecting this type of criteria only for the last
criteria node in a process.
4. If you selected “Filter conditions are met,” define the filter criteria.
a. For Filter Logic , select whether you want the actions to be executed when all the filter criteria are true or when any of
the filter criteria is true.
b. If you need to evaluate additional field values, click Add Row.
15
Using Process Builder (Beta) Add Process Criteria
Field Select the field whose value you want to evaluate. You can also evaluate values for records that are related to
the one that started the process. To do so, click next to the ID field for that related record.
For example, if a contact record started the process, you can evaluate the value for the contact’s account’s
Annual Revenue field. To access that field, click next to Account Id , select Annual Revenue,
and then click Insert.
Note: We recommend not using the “was set” operator, because it always resolves to true.
Value Identify the value that you want to evaluate the field for. See Setting Values in the Process Builder on page 5
for details.
6. Optionally, at the bottom of the panel specify whether you need to execute the actions only if the record was created or edited to
meet criteria.
For details, see Set the Previously Met Condition on page 17.
Note: This setting is available only if the process starts when a record is created or edited and you selected “Filter conditions
are met” or “Formula evaluates to true.”
7. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
Tip: If you have one criteria node defined, and you delete it and then add a new criteria node in its place, the new node might
not appear on the canvas. If this happens, refresh your page.
IN THIS SECTION:
Set the Previously Met Condition
Specify whether you need to execute the actions only if the record was created or if the record was edited to meet criteria. If this
setting is enabled, the process checks whether the record was changed from not meeting criteria to meeting criteria.
Formula Limitations
Formulas that are used as conditions in a criteria node have some limitations. If a process contains an invalid formula, you can’t save
or activate the process.
16
Using Process Builder (Beta) Add Process Criteria
If Yes is... Actions are executed if... Actions are not executed if...
Selected • The record was created. • The record’s current values meet the filter criteria, and
• The record was updated. Its current values meet the the record’s most recent previous values met the
filter criteria, and its most recent previous values did criteria.
not meet the filter criteria. • The record’s current values don’t meet the filter criteria.
Deselected • The record was created. The record’s current values don’t meet the filter criteria.
Formula Limitations
Formulas that are used as conditions in a criteria node have some limitations. If a process contains
EDITIONS
an invalid formula, you can’t save or activate the process.
All formulas that are used in a criteria node must: Available in:
• Enterprise
• Return true or false . If the formula returns true , the associated actions are executed.
• Performance
• Not contain more than 3,000 characters. • Unlimited
• Not contain an unsupported function. • Developer
Note:
• You can check whether fields have changed by using the ISCHANGED formula function.
This beta functionality doesn’t support text or picklist fields, and the way that you
implement this check might change in an upcoming release.
• Processes evaluate picklist fields as if they’re text fields, so some functions that normally
support picklists may not support those fields.
There must be a space between the function’s parentheses and the contents of the parentheses. For example, you’ll get an error for
TEXT([Account].LastModifiedDate) but not for TEXT( [Account].LastModifiedDate ) .
17
Using Process Builder (Beta) Add Actions to Your Process
Unsupported Functions
If a formula in a process uses any of the following functions, the formula will return null .
• GETRECORDIDS
• IMAGE
• INCLUDE
• INCLUDES
• ISNEW
• ISPICKVAL
• PARENTGROUPVAL
• PREVGROUPVAL
• PRIORVALUE
• REQUIRE SCRIPT
• VLOOKUP
For a complete list of operators and functions for building formulas in Salesforce, see Formula Operators and Functions Overview.
IN THIS SECTION:
Create a Record from a Process
Create a record by manually entering values or by using the values of related records.
Create a Chatter Post from a Process
Post to the feed of a user, a Chatter group, or the record that started the process.
Use a Quick Action from a Process
Create a record, update a record, or log a call by using an object-specific or global action that you or another administrator created
for your organization.
18
Using Process Builder (Beta) Add Actions to Your Process
Each action group that supports scheduled actions can have one schedule. For example, you can’t
schedule some actions to be executed one day from now and other actions to be executed three USER PERMISSIONS
days from now.
To create, edit, or view
To identify when an action group’s scheduled actions should be executed: processes:
1. In an action group that supports scheduled actions, click Define the schedule. • “Manage Force.com
Flow”
2. If you need to schedule actions to be executed based on a date/time field on the record that
started the process: AND
“View All Data”
a. Leave the first radio button selected.
b. Click the drop-down list on the right side of the panel, and then select the field that you
want to use to scheduled the action—such as the date the record was created or modified.
c. Click Insert.
d. Specify a number of days or hours before or after the field.
If the criteria for this action group are still met when this time occurs, Salesforce executes the scheduled actions.
3. If you need to schedule actions to be executed a certain number of days or hours from when the process is executed:
a. Select the second radio button.
b. Specify the number of days or hours from when the process is executed.
If the criteria for this action group are still met when this time occurs, Salesforce executes the scheduled actions.
4. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
19
Using Process Builder (Beta) Add Actions to Your Process
Warning: Rows appear automatically for fields that are required by the API. You might need to provide values for other fields.
We recommend that you refer to your organization's page layouts to determine which fields are required.
Field Start typing, and then select the field whose value you want to set.
Value Set a value for the field by using the text entry field to manually enter a value or the field picker to use a field value from
a related record. See Setting Values in the Process Builder on page 5 for details.
5. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
20
Using Process Builder (Beta) Add Actions to Your Process
5. Fill out the message that you want to post. Use the fields above the text box to mention a user or group, add a topic, or insert a
merge field into the message.
The message can contain up to 5,000 characters.
21
Using Process Builder (Beta) Add Actions to Your Process
You can only reference topics that already exist. If you reference a merge field and that field doesn’t have a value, it appears as a
blank value.
6. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
4. Fill out the message that you want to post. Use the fields above the text box to mention a user
or group, add a topic, or insert a merge field into the message.
The message can contain up to 5,000 characters.
You can only reference topics that already exist. If you reference a merge field and that field doesn’t have a value, it appears as a
blank value.
5. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
22
Using Process Builder (Beta) Add Actions to Your Process
4. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
23
Using Process Builder (Beta) Add Actions to Your Process
Object All object-specific actions in your organization that are associated with a certain Object Name . Global
actions can’t be filtered by object.
Type All object-specific and global actions in your organization based on the type, such as Create a Record or Log
a Call.
• If you selected Global actions or Type, for Type select the specific type of quick action that you want to use.
• If you selected Object, for Object search for and select the object that you want to filter by. You see only actions whose
Object Name is the selected object.
3. For Action , search for and select the action that you want to use.
4. Set field values for the action.
Rows that appear automatically represent the action’s required fields. To set values for the action’s optional fields, click Add Row.
Warning: Be careful not to remove required rows. If the action doesn’t set values for required fields, the user who starts the
process—by creating or editing a record—sees an error when the process tries to execute this action. If you accidentally
remove rows for a required field, you can see which fields are required by looking at the action’s layout.
If the action doesn’t have any required fields, a row appears with an empty Field .
Field Start typing, and then select the field whose value you want to set.
You can set values for only fields that are included in the action’s layout.
Value Set a value for the field by using the text entry field to manually enter a value or the field picker to use a field
value from a related record. See Setting Values in the Process Builder on page 5 for details.
5. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
24
Using Process Builder (Beta) Add Actions to Your Process
2. For Flow , search for and select the flow that you want to launch from this process. USER PERMISSIONS
Only active, trigger-ready flows are available.
To create, edit, or view
3. Optionally, click Add Row to set values for the flow’s variables. processes:
• “Manage Force.com
Flow Start typing, and then select the variable whose value you want to set. Flow”
Variable You can set values for any variables in the flow that have Input/Output AND
Type set to Input Only or Input and Output. sObject variables and sObject “View All Data”
collection variables aren’t supported.
Value Set a value for the flow variable by using the text entry field to manually
enter a value or the field picker to use a field value from a related record. See
Setting Values in the Process Builder on page 5 for details.
• For collection variables, you must use the text entry field to specify a
value that matches the collection variable’s data type.
• For sObject variables, you must use the field picker to select an ID field
for a record whose object type matches the sObject variable’s object
type.
• For sObject collection variables, you must use the field picker to select
a related list whose object type matches the sObject collection variable’s
object type.
Note: If the related list is empty when the flow tries to populate
the sObject collection variable with field values from those
records, the process fails.
4. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
25
Using Process Builder (Beta) Add Actions to Your Process
2. For Email Alert , type two or more letters to search for the email alert that you want to
use to send an email.
3. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
4. For Submitter , identify who should receive notifications about the approval request.
26
Using Process Builder (Beta) Add Actions to Your Process
Value Description
Current User The user who triggered the process by creating or editing a record.
User Field from a Record The user ID that’s stored in a field value on the record that’s being submitted for approval or another
record.
If the submitter isn’t an allowed initial submitter on the approval process that runs, the process fails. Make sure that the initial
submitters for the approval processes that are related to this object include all users who could trigger this process. For details about
setting the initial submitters for an approval process, see Creating Approval Processes.
6. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
27
Using Process Builder (Beta) Add Actions to Your Process
• To update a record that’s related to the record that started the process, select one of the field names in the second column.
If you select a field that ends in “ID,” you’re selecting a single record. This field name corresponds to a lookup field on the original
record. For details on lookup fields, see Custom Field Types.
For example, if a case record started the process and you select Account Id , this action updates the account that’s associated
with the case.
If you select a plural item that doesn’t end in “ID,” you’re updating all the records of that object type that are related to the record
that started the process. This plural item corresponds to child records of the original record, which might appear in a related list
on the original record. For details on related lists, see Customizing Page Layouts.
For example, if you select CaseComments, this action updates all the case comments that are related to the case.
28
Using Process Builder (Beta) Add Actions to Your Process
• To update fields on a related record, click next to a field (ending in “ID”) to access that record’s fields.
For example, let’s say that, for a process that evaluates a case record (1), you want to update all contacts that are related to the
case’s parent account. Click next to Account ID (2), then Contacts (3), and then Insert.
3. Click Add Row for each additional field value that you need to define. Click to remove unnecessary rows.
4. Specify the new field values.
Field Start typing, and then select the field whose value you want to set.
You can assign values to fields only on the record or records that you identified in the Object field. Use a separate
Update Records action to update fields on related records.
Value Set a value for the field by using the text entry field to manually enter a value or the field picker to use a field value from
a related record. See Setting Values in the Process Builder on page 5 for details.
5. Click Save.
Warning: Save your changes often. If you click outside of a panel before saving—such as on another action in the canvas—any
changes that you made aren’t saved.
29
Using Process Builder (Beta) Managing Processes
Managing Processes
To manage a process, from Setup, click Create > Workflow & Approvals > Processes.
EDITIONS
From the process management page, you can:
Available in:
• Edit a process
• Enterprise
• Create a process • Performance
• Delete an inactive process • Unlimited
• See the statuses of your existing processes • Developer
Process Status
Each process has a status that determines whether the process can be edited, activated, or deleted.
EDITIONS
Status Description Editable? Available in:
Active The process has been activated. No • Enterprise
• Performance
You can’t make changes to an active process. However, when you • Unlimited
open an active process (by clicking Edit on the process management • Developer
page), you can click Save As to save it as a new draft process. Then
you can make any necessary changes to the new draft process and
then activate it. Don’t forget to deactivate the original process if
appropriate.
InvalidDraft The process is inactive, and it doesn’t have a trigger defined, so it Yes
can’t be activated. After you define the process’s trigger, the status
changes to Draft.
30
Using Process Builder (Beta) Activate a Process
Activate a Process
Salesforce doesn’t start using a process to evaluate records as they’re created or edited until you
EDITIONS
activate it.
After you activate a process, you can no longer edit that process. However, you can click Save As Available in:
to save the process as a new draft process. • Enterprise
• Performance
You can’t activate a process unless it has:
• Unlimited
• At least one defined criteria node • Developer
• At least one defined immediate or scheduled action
1. From Setup, click Create > Workflow & Approvals > Processes. USER PERMISSIONS
2. Next to the process that you need to activate, click Edit.
To activate or deactivate
3. Click Activate. processes:
After you’ve activated your process, consider creating or editing test records that will start the • “Manage Force.com
process to make sure it’s working correctly. If you do, remember to delete those test records or Flow”
return them to their previous values once you’ve confirmed that your process works as designed. AND
If you later want Salesforce to stop using a process to evaluate records as they’re created or edited, “View All Data”
open the active process and click Deactivate.
Delete a Process
If you no longer need to use a process that you’ve defined, you can delete it. You can delete processes
EDITIONS
with a status of Obsolete, Draft, or InvalidDraft, but you can’t delete active processes.
To delete an active process, you must first deactivate it and then wait for 12 hours. If a process has Available in:
any scheduled actions, it can’t be deleted until those pending actions have been executed or • Enterprise
deleted. • Performance
• Unlimited
1. From Setup, click Create > Workflow & Approvals > Processes.
• Developer
2. Click Del for the process that you need to delete.
USER PERMISSIONS
To delete processes:
• “Manage Force.com
Flow”
AND
“View All Data”
31
Using Process Builder (Beta) Delete Unexecuted Scheduled Actions
Available in:
Errors Received in the Process Builder • Enterprise
The API names for criteria nodes and actions are created in the background. When you create or • Performance
update processes, you might see error messages that reference those names to help you identify • Unlimited
specifically where the problem occurred. • Developer
32
Using Process Builder (Beta) Troubleshooting Your Processes
myVariable_old. field field is the name of the field that’s referenced. myVariable_old refers to
the most recent previous values of the record that started the process.
For example, myVariable_old.Id corresponds to the record’s field value for
Id immediately before the record started the process.
For example:
process_myRule_2 (Formula) - The element has an invalid reference to
“myVariable_current.AnnualRevenue”.
• process_myRule_2 refers to the second criteria of your process. (Formula) signifies that the problem is in the criteria
node’s formula.
• myVariable_current.AnnualRevenue refers to the value for the field AnnualRevenue when the record started
the process.
Note: Error or warning messages might refer to a “flow” instead of a “process.” Those messages still apply to your process.
Use debug logs to find information about your running processes. From Setup, click Monitoring > Debug Logs or Logs > Debug
Logs, create a new debug log, and configure your filters to include the WORKFLOW category, at a log level of FINER. For details, see
“Monitoring Debug Logs” in the Salesforce Help.
33
INDEX
A L
Accessibility 9 Limitations 7
Actions Limitations, formula 17
create a record 20 Limits
define 18 Apex governor 7
post to Chatter 21–23 shared with rules 7
schedule 10, 19 shared with Visual Workflow 7
send email 26
submit for approval 26 M
update records 27 Manage 30
use a global action 23, 25
use an object-specific action 23, 25 O
Activate 31 Overview 1
C P
Considerations Process tool comparison 2
activation 12 Properties, define 13
administration 12
design 9 R
limits 7 Requirements 7
scheduled actions 10
Create 13 S
Critera Set values 5
formula limitations 17 Statuses 30
Criteria System requirements 7
define 15
set previously met condition 17 T
Troubleshooting 32
D
Delete 31 U
Delete, unexecuted scheduled actions 32 User interface 4
E W
Example 2 When to start, define 14
34