Year: 2023
-
Salesforce Flow Error: Value of class com.force.swag.soap.Time is not a ValueType: STRING

It’s a simple but confusing error. You’re getting this error because flow doesn’t support Time Data Type and you are using Time data type field in your flow. Simply create a formula field of return type ‘Text’ and embed your time field from that. Now use this new formula field…
-
Generate Unique Random Auto-Number using Apex (medium-concurrency)

Generating high-concurrency unique random auto-number using Apex is very challenging, but using below code you can achieve a medium-concurrency situation.
