Entries by Alex Edelstein

Wire Service Considerations when using LWC and Flow

Wire services fire initially before any flow data is loaded into an lwc’s public properties. If you’re using flow inputs to drive those wire services, like this: …keep in mind that your function will have to deal with that initial result that comes back, which will often be something like undefined. What you want to […]

Packaging Invocable Actions

Author Credit: Eric Smith assisted in the development of this material Because invocable actions make great building blocks, there’s an increased risk that you’ll have a collision if you’re using unmanaged packages, so managed packages are generally recommended (and unless you have IP you want to keep confidential, we also recommend you simultaneously make the […]

New Wiki Page on Flow Stages

We’ve added a new wiki page covering Flow Stages. As is the case with most buildouts of the wiki, this isn’t about a bunch of new content but more of an aggregation of all of the known existing good content on a single focused topic page. As such, everyone should feel encouraged to add good […]

Navigate Everywhere – Flow Action

This action provides a range of navigation choices available in a single, straightforward navigation action for Flow. It provides support for navigation from a flow to: a record page (in edit or view mode) a new record form for an object (Note that you can use flow to pass initial values to the form) a […]

Get the Layout Corresponding To a Specific RecordType/Profile Combination – ‘Get Layout By Profile and Record Type’ Flow Action

Layouts often differ substantially from recordType to recordType and from profile to profile. This action takes a recordTypeId and a profileId and returns that combination’s current LayoutId. One use of this is dynamically generating flow screen layouts with the RecordDetail flow screen component. To do this, after using this action to retrieve a LayoutId, use […]