New answers tagged

0

If you are saying that your PDF generation is hosted on Heroku then you don't need to execute JavaScript from the Process Builder, you need to do Callout. Here I found an example of how you can do it http://cloudyworlds.blogspot.com/2015/03/invoking-apex-callout-from-process.html


-1

When a process builder updates the record then the record is updated by user named 'Automated Process' (Alias: 'autoproc'). So we can have condition in validation rule to avoid it for process builder by adding condition- $User.Alias <> 'autoproc'


-1

When a process builder updates the record then the record is updated by user named 'Automated Process' (Alias: 'autoproc'). So we can have condition in validation rule to avoid it for process builder by adding condition- $User.Alias <> 'autoproc'


0

I would do this: You can start with an autolaunched flow because debugging record-triggered is harder. But I would eventually use record-triggered after-save flow. You can use the save as a new flow feature and make the necessary changes. Run your flow whenever a case is created or updated and the Owner is changed. You can use priorvalue to check whether ...


0

In Derek F's answer to the Similar Post you included in your question, the two fields were being used differently: one field for entering "2.5" to mean "two and one-half hours" (what Derek F called decimal), and the other field for entering "2:30" to mean "two and one-half hours" (what Derek F called time). Since you ...


1

The process stops and the transaction fails; everything up to the last save point is rolled back (typically, the entire transaction, but things like allOrNone=false will allow a retry, minus any records which errored). Note that in a bulk operation, all instances of the process are allowed to attempt the same step to allow individual success/failure, but the ...


0

I tried all possible combinations and I only got the message delivered using this pattern whatsapp:+dDI+dDD+phoneNumber


0

As per my understanding, you are trying to bypass the validation rule on the opportunity object while lead conversion. Follow the below steps to achieve the solution. Create a field named Source check-in both lead(By-default field will be true) & opportunity(By-default field will be false) object. Map this field from lead to opportunity(default field ...


2

processbuilderaction looks like an Apex Class. Have you granted the specific user profile access to this specific apex class? Lots of people reporting similar issues today - all relating to "Disable Rules for Enforcing Explicit Access to Apex Classes" being enforced in Spring '21 release over the weekend. See Known Issue for alternative suggested ...


1

Few Steps needs to confirm in your org's Process builder or flow - In processes and flows, a formula can reference a record’s field via a lookup relationship field or record variable. If the lookup relationship field or record variable is null, the formula sometimes returns null. Otherwise, it returns an unhandled exception. In Spring 21 release, Salesforce ...


0

Fixed it - just had to enable the Allow Recursion option. Credit to @Moonpie


0

After also hitting this issue, this is what I found out after some experimenting, using VS Code: With a Flow that was creating a new version on every deployment, retrieving the source with force:source:retrieve, with sfdx-project.json set to the latest api version, retrieved a modified .flow-meta.xml. Comparing the before and after shows a new tag <...


0

@David Dusing's response is much closer to the real answer. Changing the Flow's Api version will definitely create a new version, but I still see new Flow versions created from deploying identical files (same Flow API version that also matches the environment's current API Version, and the SFDX json project file's API version). I believe it's related to when ...


1

From line 3 to 6 where you are checking if the values are equal to a number, there should be two equals instead of one. Try this IF( ISPICKVAL( [In_Form__Risk_Assessment__c].Risk_present_MH__c , "No" ) , "No risk" , IF( CASE( [In_Form__Risk_Assessment__c].Likelihood_mental_health__c , "Very likely (5)", 5, "Likely (4)&...


1

Because the way that Formula fields work (they are processed last or nearly last in the chain) you cannot use them to properly control your process. Code the formula in your process.


1

You can go to Object Manager -> Custom object ->Fields and Relationships. Once you click on one of the fields, on the top right you should be able to see a button called 'Where is this used?', which should tell you if a process builder/Flow/Apex is using that field and populating the values.


0

Yes, as a trigger, you can write: trigger triggerName on Task (before insert, before update) { Pattern p = Pattern.compile('https?://\\S+'); for(Task record: Trigger.new) { if(record.Description != null) { Matcher m = p.matcher(record.Description); if(m.find()) { record.Link_URL__c = m.group(0); } } } } You can adjust ...


Top 50 recent answers are included