Questions tagged [process-builder]

The Process Builder is a workflow tool that helps you easily automate your business processes by providing a powerful and user-friendly graphical representation of your process as you build it.

Filter by
Sorted by
Tagged with
55 votes
3 answers
5k views

Should we use process builder at all?

Forgive me if this isn’t an appropriate topic for this board but I would like to have an open and honest discussion about Process Builder. We have a multi-tenant org (different business units using ...
Stephen's user avatar
  • 1,551
29 votes
3 answers
7k views

Flows/Processes, Version Control and CI

I've started using Processes and Flows and am really excited about these features -- but am still wrapping my mind about how to manage them in Version Control (which I use) and Continuous Integration (...
Benj's user avatar
  • 11.2k
26 votes
1 answer
974 views

Why am I double charged on DML limits in a process builder?

This question is a follow-up from another question where the accepted answer states that for each Update Records action in a process, following limits are consumed: As you can therefore conclude, ...
Robin De Bondt's user avatar
24 votes
4 answers
28k views

How invocable method and bulk behavior in Process Builder work?

I am trying to understand how invocable method called from Process builder behaves. I have Process Builder process on Account which has apex action. Apex action needs to be executed for record inserts....
apn's user avatar
  • 1,722
23 votes
4 answers
28k views

Deployment issues with Process Builder Flows

Deploying Process Builder Flows from one org to a target org only works via the ant migration tool if the existing process builder flows are deleted first using destructive changes. However, if the ...
Sara's user avatar
  • 1,164
22 votes
2 answers
47k views

How to add time-dependent actions in Lightning Process Builder?

How can I add time-dependant actions in my process flow? I cannot see any function or button to add scheduled actions.
Deployment Failure's user avatar
21 votes
4 answers
30k views

Does Process Builder run with System permissions or User permissions?

Regarding field-level security, does Lightning Process Builder run as system-level permissions or user? That is: Can I trigger an update to a field that the current user cannot edit? Can I filter ...
Charles Koppelman's user avatar
21 votes
3 answers
6k views

Process Builder - Breaking Production Deployments?

I have a Process Builder flow set up and I am running some tests around the InvocableMethod Apex code. The tests pass fine in my staging and production environments. Yet, when I try to deploy to ...
Adrian Larson's user avatar
  • 150k
16 votes
4 answers
39k views

What Criteria to use in Process Builder to check for NULL reference?

I have a lookup field on account - for other accounts - Name: Account Parent Tiered OBJ How do I check in Process Builder that it's actually empty? Using the Global Constant NULL or: IS Null true ...
Saariko's user avatar
  • 5,600
16 votes
2 answers
31k views

Field Not Showing in Process Builder

I wanted to add an "Update Records" action in a process and set a new checkbox field to true which I created just before. However, even after reloading process builder the field is not available in ...
Matt Lacey's user avatar
  • 25.6k
15 votes
5 answers
110k views

What is the difference between Process builder and workflow?

I am learning process builder, I am getting confused then what is the difference between process builder and workflow. I mean when to use workflow and when to use process builder? If possible please ...
Anu's user avatar
  • 3,835
15 votes
1 answer
4k views

Bad rightOperand type: got SObjectScriptRow

I just want to know what is SObjectScriptRow! All I can find about it is this question. I'm building an invocable method to be used from a process, where I have one input parameter: a list of an ...
Jose's user avatar
  • 2,142
14 votes
4 answers
89k views

package.xml format to retreive process builder

can anyone please help out with sample package.xml to retrieve process builder from salesforce org? Thanks in advance
Priyanka Kajawe's user avatar
13 votes
4 answers
26k views

How to pass more than one parameter for Invocable Methods and collect the return value?

@InvocableMethod annotation is not allowing to pass two parameters. I want to invoke a method through process builder which is having : Input type : Date, Date Output type : Integer Is there any way ...
Stuart Cole's user avatar
13 votes
3 answers
24k views

The record couldn’t be saved because it failed to trigger a flow - Process Builder

I have one Process Builder which helps me to do certain things on my Opportunity create/update and all. Now, the problem is I have written one Trigger on Opportunity which is expected to run "After ...
Salesforce Steps's user avatar
12 votes
1 answer
29k views

Push Process Builder flow to Production with Change Set

Is it possible to push a process builder flow from Sandbox to Production using change sets? According to Winter15 documentation, process builder is not supported by change sets. If it is still the ...
Riadh Mankai's user avatar
  • 1,088
12 votes
3 answers
22k views

Does @InvocationMethod accepts only 1 List<String> datataype parameter for Process Builder APEX call action?

Is there any documentation available related to @InvocationMethod annotation of APEX (Spring 15 feature)? I've been going through the release notes - http://releasenotes.docs.salesforce.com/spring15/...
VarunC's user avatar
  • 5,940
12 votes
2 answers
10k views

Getting an error that a flow "was" activate and cannot be overwritten

I'm using Salesforce Migration Tool (Ant) to deploy flows and processes. If memory serves, so long as the flow in the destination org was not activate (or deactivated) I could overwrite it. If you ...
Swisher Sweet's user avatar
11 votes
1 answer
40k views

How do I determine if the case owner is a user or queue in process builder?

I'm using the process builder to create a task and assign it to the case owner. If the case owner is a queue then creating the task fails with the following error: FIELD_INTEGRITY_EXCEPTION: ...
Justin Helgerson's user avatar
11 votes
3 answers
19k views

Problem with Process Builder Invocable Method and Webservice Call out

I am trying to execute a web service call to our backend system when the opportunity is closed/won. I am attempting to do a POST to our endpoint. All the api call is really carrying the account name ...
Vik's user avatar
  • 183
11 votes
2 answers
11k views

accessing the return value of an InvocableMethod in process builder

Good morning. Hopefully this is a simple question, that I've just bone-headedly missed in the documentation. In process builder how can I access the return value of an Apex InvocableMethod?
Kevin P's user avatar
  • 7,188
10 votes
1 answer
4k views

Can't invoke @InvocableMethod via the REST API

I've been trying to use the new Spring '15 functionality related to Invocable Actions / @InvocableMethod / @InvocableVariable using the current documentation: https://www.salesforce.com/us/developer/...
Carolina's user avatar
  • 1,101
10 votes
1 answer
16k views

Process Builder - triggering on formula field update

I'm looking for a way to trigger a Process Builder 'process' when a formula field updates. In previous years, this wasn't possible, but I SWEAR that it was fixed a few months ago and you had to check ...
RC82's user avatar
  • 595
10 votes
5 answers
9k views

Process Builder still fires timed actions even when it no longer qualifies

I have a PB flow which is meant to send reminders to change an opportunity's stage after a date has expired. There's multiple emails that go out -- an hour after the date elapses, a day after, etc -- ...
Matt's user avatar
  • 1,017
10 votes
1 answer
2k views

Order of Execution of WF Rules and Process Builder on the same object

I was reading docs and was surprised by the following sentence: Warning For a given object, use either workflow rules or processes — not a combination of the two. If you use both, you can’t predict ...
edelrabe's user avatar
  • 779
9 votes
2 answers
3k views

Enable/Disable Process Builder Processes all at once

BACKGROUND I found this really useful tool called Salesforce Config Switch which allows me to easily enable and disable processes on mass in one go. But it's throwing a 500 error at the moment. ...
Robs's user avatar
  • 9,330
9 votes
2 answers
4k views

With so many workflow/flow/process builders, how can we keep things in order

I have to admit that I am a fan of triggers. Because, with more and more logic being added in, we can use a decent trigger handler framework to keep things in order and can design that with separation ...
Lance Shi's user avatar
  • 13k
9 votes
1 answer
1k views

How does Lightning Component Framework request boxcar'ing affect flows and transactions?

If the lightning component framework batches together multiple update requests, are they all subject to the rules and limits of a single transaction? From Queueing of Server Side Actions: The ...
MatthewGTS's user avatar
9 votes
4 answers
9k views

Debug Record-Triggered Flow

Love the new Summer '20 release features for flow, excited to use Flows in place of Process Builder. One consideration I wanted to verify with the community. Is there a way or a best practice for ...
Xtremefaith's user avatar
  • 4,540
9 votes
1 answer
345 views

How to maintain Process Flows in source control?

Salesforce appends a version number to the metadata file name. This prevents us from tracking in source control, since Git tracks files by name. Any good methods of tracking flows in git or other ...
Chris Fellows's user avatar
8 votes
2 answers
8k views

How to deactivate a existing active process builder using metadata API?

Background: There is only one version of the process builder exists in sandbox, version number is 1 and it is Active. I retrieved this process builder using the command sfdx force:source:retrieve --...
javanoob's user avatar
  • 8,847
8 votes
1 answer
3k views

Using a flow, can you post in Chatter on behalf of another user

In our community, we want to post automated welcome messages in Chatter. Does anyone know if it is possible to use a flow and process builder to post to Chatter on behalf of another user, like say a ...
greenstork's user avatar
  • 14.7k
8 votes
1 answer
3k views

Why Process Builder doesn't work on Delete Scenario?

As most of the time we have to think of requirement to accomplished using out-of-Box feature like e.g process builder which we think of an alternative to trigger, but suppose I have to handle scenario ...
Nachiket Deshpande's user avatar
8 votes
2 answers
4k views

Is Changed operator in Process Builder

I am checking whether Order OwnerId is changed or not in Process buider.If Changed update related records. But getting below error when Order.Close_Date__c is updated through Workflow field update ...
sfdc's user avatar
  • 13.6k
8 votes
1 answer
1k views

How test Process Builder's scheduled actions with APEX testmethods?

We have an org where we are using Process Builder to create cases 1 hour after a record have been created with missing data. We are using a scheduled action (Call apex) to do so. We are using the "...
Balazs Rubicsek's user avatar
7 votes
8 answers
4k views

Workflow versus Process Builder. How to choose which to use?

Is there ever a reason (aside from Outbound Messages) to use Workflow instead of Process Builder? Specifically a side-by-side comparison of how well each performs for single-condition field updates, ...
AlwaysThinkin's user avatar
7 votes
2 answers
2k views

What is security context of Invocable Methods ran by Process Builder

I have a basic class with no sharing keyword as I want it to inherit the permissions from callee. What would the context be? I assume it should run as system (aka without sharing) context, but what I ...
dzh's user avatar
  • 4,086
7 votes
7 answers
4k views

Deploying project via SFDX spawns new Process Builder versions

We just started using VCS for all metadata changes for our orgs. One problem we encountered is, that when we deploy changes to org via sfdx force:source:deploy, sometimes a new inactive Process ...
Curious Squirell's user avatar
7 votes
1 answer
1k views

Birthday Alert Every Year

I would like to achieve this by configuration only, my mainly question is about can this formula condition in criteria fires off every year in PB? Basically I am setting up a PB to evaluate Contact's ...
user27850's user avatar
7 votes
2 answers
1k views

Will Lightning Process Builder replace Trigger dispatching logic?

I am not asking if we app developer can finally replace code with point-n-click tools. But I am asking if we will still need Trigger logic that handles modified record and dispatches them to Apex ...
Robert Sösemann's user avatar
7 votes
1 answer
2k views

How to display error message to User when InvocableMethod throws an exception

Background I am using Process Builder to run an Apex InvocableMethod which sends some data to a 3rd party REST API. Sometimes the 3rd party REST API returns a validation error. Question How can ...
Robs's user avatar
  • 9,330
7 votes
1 answer
5k views

In Process Builder, can't pass reference to process's object to Apex using InvocableMethod

This is driving me crazy because I JUST did this a month ago. I have a simple apex class that exposes an invocable method so that I can call it from process builder: public with sharing class ...
cpfrommer's user avatar
7 votes
1 answer
4k views

Scheduled Action not firing in Process Builder on Create

I've been testing this in a trailhead org to confirm/test behavior within Process Builder. This means there's no other automation/code/trigger on the object I'm testing on. Is it possible to have one ...
Kris Goncalves's user avatar
7 votes
1 answer
1k views

Is there a better way to debug Salesforce automation (triggers/workflows/process builder) than Developer Console > Perspective Manager?

I have some very simple automation in place for demoing Salesforce "Order of Execution". I have a field on called Version__c which increments by 1 in a trigger and a workflow. This is what happens: ...
rmarq423's user avatar
  • 967
7 votes
0 answers
143 views

Are Visual Workflows/ Process Builder based on Apex?

What technology is behind Visual Workflows/ Process Builder? See salesforce.com/video/303091, fwd to 38:28... per Josh Kaplan, none of the declarative tools compile into java bytecode instructions. ...
krigi's user avatar
  • 2,201
7 votes
1 answer
2k views

Could not evaluate formula for value passed to Flow

Has anyone come across this error when trying to use Process Builder/@InvocableMethod to call an Apex class? This is the error I see in the Debug log: Could not evaluate formula for value passed to ...
Phil Hawthorn's user avatar
6 votes
3 answers
19k views

Process builder doesn't fire when approval process "accepted"

I have an approval process which is fired when a record hits certain criteria. This works correctly, but when the approval process is "approved" or "rejected", my next process builder doesn't fire. ...
David Holland's user avatar
6 votes
2 answers
29k views

How do I check if a record exists in Flow Builder?

I have an autolaunched flow to create a record with particular field values, unless a record with the same values already exists. This answer offers a method for interactive flows. This answer says ...
Foo Bar's user avatar
  • 286
6 votes
1 answer
13k views

Process Builder - Add Minutes,Hours to Event End Date

I want to make the Event End Date as NOW()+60 Mins in process builder while creating a new Event record. But It is adding 60 DAYS even though Event End date is date/time field. How do I add minutes ...
sfdcFanBoy's user avatar
  • 4,055
6 votes
4 answers
11k views

Set Picklist field to blank with Process Builder

Is it possible to set a picklist to blank using Process Builder. From what we can tell it just gives you an option of any of the picklist values, but wont let you save the value as blank? Is there ...
Keith Mancuso's user avatar

1
2 3 4 5
31