Thank you for posting this; it was helpful. I would like to point out a correction to the Invocable Variable section. The invocable method takes a List because Salesforce has the option to bulkify calls to this method to improve performance, as it does with triggers - It may combine calls from up to 200 independent flow executions into that input List and expect you to handle it. By running get(0) on line 1, you will ignore any requests. This will cause this example to intermittently not work for most callers when under load. If your invocable method needs to accept a collection from a single flow, it should take a List, again to allow bulkification of up to 200 calls.
Why we added the decision element? We have option in the first element to check when the flow is triggered...everytime record is updated or. Only at time when the particular mentioned field is updated
how can we provide multiple record to variable. if i am getting multiple record in GET RECORD element. I want to send them all to apex class at a time???
Hi, Thanks a lot for the sessions, they are very helpful. I have a question, I have created a flow for auto-renewal, the flow takes Opp recordId and I need to pass it to LWC which then passes it to Apex method which has soql query to get list of Opportunity products of the Opportunity that entered the flow. Could you please advise how to acheive this? I need to display data table with Opportunity products along with Sales Price so that user can select them. Thanks in advance.
Hi Sir, What about related Emails. The flow working fine I'm getting Emails when ever Case is created ( Origin = Email && contactId=!null ) but the Email size is still it's showing Zero. Any solution for this?
Hi, I did the same everting but I have received this error. Flow didn't accept my Invocable apex. "Remove this element from the flow, or move it to a scheduled path. A record-triggered flow can’t execute actions that make external callouts in a path that runs immediately."
Hi apex hours team while the account is set to in active why it deleted only 2 opportunities but not 4 of them which are available in account related list of opportunities