• Frank 2U
  • NEWBIE
  • 20 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 5
    Likes Given
  • 5
    Questions
  • 2
    Replies
I know you can add buttons to record list screens that will send the record ids as input to a flow. Is there a way to do the same with report screens, send the record ids of the results to a flow?
I'd like to make a screen flow where the user submits a list of record IDs (via text field, file upload, or similar) and the flow gets those records to a collection (then manipulates them as needed).
Is there a built-in way to do this, or an installable package, or do we need to use custom code? If the latter, is it worth using Flow at all, or should we just do the whole thing in code?
According to https://help.salesforce.com/s/articleView?id=000355733&type=1
The default no-reply address for case email notifications is supposed to be a real email address that checks incoming email and clicks a verification link, otherwise Salesforce won't allow it, but also an address that ignores incoming email and doesn't reply?
Clearly I am misunderstanding something about the semantics of a no-reply address. What am I getting wrong and what do your orgs use for this address?
If you have multiple processes that will execute when a record is changed or created, what is the order of execution? How do I determine what it will be? Is it constant or variable?
In a before update trigger with Trigger.new and Trigger.oldMap, do the following three groups contain identical values?
  1. The element Ids of Trigger.new
  2. The Ids in Trigger.oldMap.keySet()
  3. The element Ids of Trigger.oldMap.values()
I'd like to make a screen flow where the user submits a list of record IDs (via text field, file upload, or similar) and the flow gets those records to a collection (then manipulates them as needed).
Is there a built-in way to do this, or an installable package, or do we need to use custom code? If the latter, is it worth using Flow at all, or should we just do the whole thing in code?
Has anyone faced the error when creating a connected app with OAuth enabled ? 
"Changes can take up to 10 minutes to take effect. Deleting a parent org also deletes all connected apps with OAuth settings enabled." I am creating a connected app and not deleting anything.
Hey there,

when writing Trigger Handler Classes and calling the respective methods from a Master Trigger there are different ways to achieve this. The keywords are Static and Non-Static .

In other words:
public void
vs.
public static void
I was wondering what's the best practice to write and call a method from a Master Trigger. In fact both options will work - but I once read that going for non-static was always the better choice. Why is that?

Given we have a method in our class that creates Assets from an Opportunity's line items (Opportunity Products). 

Static - Master Trigger call:
OpportunityTriggerHandler.createAssets(Trigger.new)
Question 1:

I saw this approach quite often in forums and blog articles - is this approach generally recommended and reasonable?

Non-Static - Master Trigger call:
OpportunityTriggerHandler oppHandler = new OpportunityTriggerHandler();
oppHandler.createAssets(Trigger.new);
Question 2

Can I consider non-static as best practice and if yes, why?

Looking forward to your feedback!
 
  • September 16, 2019
  • Like
  • 1
Hi,

Within a visual flow, I'm wondering if I can populate a collection variable using semi-colon separated values (;) in a single input text box. For the use case, I'd like to append an ad-hoc Taskray Checklist to a Taskray Task using only the flow interface, but as the items are ad-hoc, I can't use a template for it.

For example, if I input this in ONE long text field:
Apples;
Bananas;
Carrots;


Can I pass it into a collection variable using a loop so it is [Apples, Bananas, Carrots]?

I have simulated this by using LEFT({!Checklist}, FIND(";", {!Checklist}) - 1) to get the first row and adding it to the collection variable, trimming it from {!Checklist} and doing it again for the second row, etc. This creates the collection var as long as I stick to the number of assignments I've used.

But the problem is I can't figure out how to build it into a loop to handle variable number of items. Is there any way to do this using only flow tools?

Thanks in advance :)




 
I keep receiving the below error whenever I attempt to check a hands on challenge. I have logged in and out multiple times and get this error in multiple trailhead boxes.

There was an unhandled exception. Please reference ID: TBRSCDKH. Error: Restforce::UnauthorizedError. Message: INVALID_SESSION_ID: Session expired or invalid
New to Salesforce.

I'm creating a fairly complex process in Process Builder on the Opportunity object.  When the record is saved I want to trigger and calculated some dates and do a few other checks to make sure only valid option types are entered.  Therefore, I want Process Builder to run after I do the Save trigger.  I couldn't find any documentation on this.
If I have define a flow in process builder which runs after the record is created then which one runs first ?Trigger or Proces builder?