Bücher des Sommers ‘25 .. und er ist noch lange nicht vorbei! . Eigene: Calvin & Hobbes, The Amulet of Samarkand (J. Stroud) Amundsen (E. Peisson), Rage (J. Kellerman) Familie formt den Charakter (R. Kölpin) Der Gott des Waldes (L. Moore) Bibliothek: Marianengraben #books #Bücher #lesen #summer25
Follow #mrflowerman - Summer 2025 is the summer of Butterflies. Here are my favourite nine photographed in the last month or so - I hope you enjoy them as much as I did photographing them.

#favouritenine #butterflies #summer25 #beautyinnature #nature #wildlife #insects #mrflowerman_ #butterflycount #pixelnature #macromagic #macrophotography

Further holiday stuff. Interesting things I got up to:

I went to Shrewsbury for about a week. Lots of interesting industrial history stuff: a flax mill and later malting which was the first iron-framed building in the world, Iron Bridge, and the Iron Museum with lots about iron and in particular casting processes, saint Chad's church (yes, really) which is one of the few round churches in the UK, Stokesay Castle (not a real castle but a fortified mediaeval manor), Saint Lawrence church at Ludlow (they didn't let me go up the tower).

Among other things that happened in this holiday my ancient iPhone SE broke down. So I of course had to buy another one. For which of course the bank wanted me to 2FA, with my phone, which was broken.

I shit on Delegated Regulation (EU) 2018/389 forever.

Other than that it was great. The Flax Mill has a great cafe, and in Ludlow we had very nice food at the Harp Lane's Deli.

In Shrewsbury itself we had good food at La Lanterna (Italian), and Casa Naranjo (Spanish). Do not recommend the greenhouse cafe.

We also went to Evensong at the Abbey (for the music). It was alright, but I've heard better.

And now I'm back in Cumbria for about another week.

#HolidayStuff #Summer25

These may be the most Tivoli in summer photos I've ever taken. After a marvellous concert in their classical series with Jan Lisiecki playing Chopin last night. #Tivoli #evening #Fairground #TivoliCPH #Copenhagen #SummerInDenmark #TivoliDK #Summer25

Get Ready for the New Time Data Type – Summer ‘25 Flow Goodness

Salesforce Flow is constantly evolving, bringing us enhancements that make our lives as admins, developers, and business users much easier. The Summer ‘25 release is described as a big one, packed with substantial updates and quality-of-life improvements. Among these exciting additions is a feature many have been waiting for: native support for the Time data type in Flow.

What is the Time Data Type and Why is it Important?

The new Time data type is specifically designed for situations where the time of day matters, but the date does not. Previously, handling time-specific data in Flow without including the date could be complex. Summer ’25 changes that, allowing you to process data focused purely on time, down to the millisecond.

This capability is incredibly handy for a variety of use cases:

  • Managing communication times, such as determining when to send an email.
  • Checking if actions occur within specific business hours.
  • Creating flows to send reminders based on a time before an event, like an email reminder 30 minutes before a meeting.

Where Can You Use the Time Data Type in Flow?

The Time data type is available across a wide range of Flow features, providing flexibility in how you build your automations. You can use Time fields and resources in:

  • Various Flow elements, including Action, Assignment, Collection Filter, Collection Sort, Create Records, Delete Records, Decision, Get Records, Subflow, Transform, Update Records, and Wait for Conditions.
  • Formula builder and expression builder.
  • Resources such as variables and constants.
  • As input and output for invocable actions.

When working with time values, you should use the hh:mm:ss.SSS AM/PM format, though including seconds or milliseconds is optional. For instance, 9:00 AM, 5:30:05 PM, and 14:45:53.650 PM are all valid time values.

New and Improved Time Functions

To complement the new data type, Salesforce Flow also introduces or enhances formula functions specifically for working with time. In the formula editor, you can now effectively use functions such as HOUR(), MINUTE(), SECOND(), MILLISECOND(), TIMENOW(), and TIMEVALUE(). These functions empower you to perform calculations and make decisions based on time data within your flows. Previously, extracting and manipulating time in Date/Time fields was very difficult, and it involved parsing text values that contained this information.

Important Considerations

  • The Time data type is currently not supported in the offline flows available on the Salesforce Mobile app.
  • This change applies to flows running on API version 64.0 or later. If you have existing flows created with API version 63.0 or earlier that use custom fields of the time data type, they will continue to work as before. However, to leverage the full functionality of the updated time data type in those flows, you’ll need to edit them and save them as a new version configured to run on API version 64.0.

Random Number Generation

One benefit of the new time-related capabilities is that you can use the new functions to generate random numbers. There is no random number generator function available in flow. Previously, I extracted the seconds out of a Date/Time value to generate a random number, now I can generate one using the Milliseconds.

🚨 Use Case 👇🏼

Select multiple leads on a data table to add them to a prize drawing. Generate a random number and determine the winner. Email the winner to communicate the prize they won.

For this use case I leveraged many new flow functionalities.

Let’s get right to the build.

Build the Screen Action Autolaunched Flow

The selected leads can span over several screens in the data table, when the user is completing their selection. I decided to use an autolaunched flow to compile a CSV list of lead names which will be shown under the data table, as the user is completing their selection.

For that I build an autolaunched flow. Follow these instructions to build yours:

  • Start an autolaunched flow.
  • Create a Lead Collection Record Variable and make it available for input.
  • Create a Name CSV Text Variable and make it available for output.
  • Use the transform element to extract a text collection variable of names (first names) out of the lead collection record variable (not required, I wanted to use this new feature).
  • Loop the names collection text variable.
  • Add an assignment to add the current name text, and then a comma and a space character to the Name CSV Text Variable.
  • Outside the loop add another assignment to assign a new value to the Name CSV Text Variable. This new value will be the accumulated names in csv format with the last comma and the space character removed. Use a formula resource to compute the value. The formula is: LEFT({!NameCSVTextVar},LEN({!NameCSVTextVar})-2)
  • Debug, save and activate the flow.
  • Build the Screen Flow

    Follow these instruction to build your flow:

  • Start a screen flow.
  • Get the leads in the org where the email is no null (limit the get to 2,000 records not to hit limits).
  • Add a screen. Place a data table on the screen showing the leads, and allow for multi selection. Add a screen action to the screen and point it to the autolaunched flow you created above. Pass the Lead Data Table Selected Rows to the screen action autolaunched flow as input.
  • Assign the count to a Count Number Variable (no decimals). Also assign the winner number to a Winner Count Variable. This is to ensure that the number does not change in debug (I don’t think it will change in production execution). You will need a formula resource to determine the winner. Here is what this formula does: Generate a number between 1 and 1,000 using the milliseconds value of the time of the execution, and prorate that using the number of leads the user selected to determine the winning number. Assign the following formula value to the Winner Count Variable:ROUND(((MILLISECOND(TIMENOW())+1)*{!CountLeadsVar}/1000),0)+1
  • Loop the Lead Data Table Selected Rows and assign a value incremented by 1 to a counter variable in every iteration (CounterVar Add 1).
  • Check Via a decision whether the winning number is equal to the counter variable.
  • If the winner is determined assign the Lead Record to the Winning Lead Record Variable, and exit loop. If not, keep looping.
  • Outside the loop send the email to the email address of the winning lead and congratulate them. I built my email template with inside the brand new email action element for this one (Summer ’25).
  • Debug, save and activate the flow.
  • Please note that, I tried conditionally running the screen action only after the user selects the first data table row, but that functionality (Summer ’25) does not seem to work properly in preview. I have a ticket open with Salesforce to determine whether that is a bug.

    If you want to see the flow in action, watch this video.

    Conclusion

    The introduction of the Time data type is a significant step forward for Flow, enabling more precise and efficient time-based automation. It’s one of the many high-impact features and quality-of-life improvements packed into the Summer ’25 release that are bound to make your job easier.

    Ready to give it a spin? Don’t forget to sign up for a pre-release org to test out this and other new features! You can also find more details in the Summer ’25 release notes.

    Explore related content:

    Salesforce Summer ’25 Preview: Major Flow Changes to Watch For

    Time Zone and Time Operations in Flow

    Supercharge Your Approvals with Salesforce Flow Approval Processes

    #AutolaunchedFlow #DecisionElement #GetRecords #Salesforce #SalesforceAdmins #SalesforceDevelopers #SalesforceTutorials #Summer25 #Time #TimeDataType

    Admin Release Countdown: Get Ready for Summer '25 - Salesforce Admins

    Admins, get ready for the Salesforce Summer '25 release! See key dates, sandbox preview info, and resources to prepare your org for the latest release.

    Salesforce Admins

    British Airways will operate a record number of flights from London to the US, Canada and Mexico in Summer 2025, offering more than 400 direct flights per week during its peak weeks, including 26 US cities.

    https://www.air101.co.uk/2024/09/british-airways-set-for-record-breaking.html

    #Air101 #Travel #Aviation #avgeek #BritishAirways #Summer25

    British Airways set for a record-breaking summer of flights to North America next year

    British Airways set for a record-breaking summer of flights to North America next year